This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "your-app-name", | |
"version": "0.0.1", | |
"private": true, | |
"dependencies": { | |
"http-proxy": "0.8.x", | |
"connect": "2.3.x" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git branch --merged | grep -v master | grep -v main | xargs git branch -d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# trac-post-commit-hook | |
# | |
# This version trac-post-commit-hook has a few customizations. | |
# | |
# 1. fix/fixes/fixed commands set status to 'testing' instead of closed. | |
# | |
# 2. Added a new command to create new versions. Any commit message with | |
# a pattern 'tagging version VERSION_NUMBER' or 'tagged version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on run | |
tell application "System Events" | |
keystroke (the clipboard) | |
end tell | |
end run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* Type definitions *) | |
// A list of functions that take the current context (TDS return), | |
// and return true if the column is supposed to be visible right now | |
type IsColumnVisible = (TdsReturn -> bool) list | |
// List of functions that take a data row (generic type 'T) | |
// and return true if the current column is supposed to be editable | |
type IsColumnEditable<'T> = ('T -> bool) list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; Directory / File setup | |
(setq org-directory "~/Dropbox/org") | |
(setq org-default-notes-file "~/Dropbox/org/notes.org") | |
(setq org-archive-location "~/Dropbox/org/.archive") | |
(setq org-agenda-files (list org-directory)) | |
;;; Configure org-capture | |
(setq org-capture-templates | |
'(("t" "Todo" entry (file+headline "~/Dropbox/org/notes.org" "Tasks") | |
"* TODO %?\n %i\n SCHEDULED %t") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style></style> | |
<body> | |
<h2>Transitioning numbers</h2> | |
<h3 data-value="0" id="the-number">0</h3> | |
<input type="number" value="0" id="new-number" step="100" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
color[] colors = { color(85, 98, 112), color(78, 205, 196), | |
color(199, 244, 100), color(255, 107, 107), | |
color(196, 77, 88) | |
}; | |
float rot = 0; | |
int colorIndex = 0; | |
void setup() { | |
frameRate(26); | |
size(325, 200, P3D); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('select.bit-rate').each(function() { $(this).find('option:first').attr('selected', 'selected'); }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We deeply regret to inform you that we will not be able to deliver your | |
subscription copy of the February 11th issue of The Economist. | |
This issue includes a special report on Pakistan and features a map | |
showing the disputed territories. India does not allow us to show the | |
current effective border, requiring us instead to show only its | |
territorial claims. As a result, the issue has been seized by the Indian | |
customs authorities. | |
We apologise sincerely for any inconvenience this may cause. We will be |
NewerOlder