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
URL | User | Repo | |
---|---|---|---|
https://github.com/0install/hello-ceylon | 0install | hello-ceylon | |
https://github.com/0x10c-crap/DCPU-Stress-Test | 0x10c-crap | DCPU-Stress-Test | |
https://github.com/0x10c-dev/stdlib | 0x10c-dev | stdlib | |
https://github.com/0x10cAtlas/AtlasOS | 0x10cAtlas | AtlasOS | |
https://github.com/0x10cStandardsCommittee/0x10c-Standards | 0x10cStandardsCommittee | 0x10c-Standards | |
https://github.com/0x42c/0x42c-kernel | 0x42c | 0x42c-kernel | |
https://github.com/0x42c/0x42c-multithread | 0x42c | 0x42c-multithread | |
https://github.com/1508/Deployment-Utilities | 1508 | Deployment-Utilities | |
https://github.com/280north/cappuccino | 280north | cappuccino |
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
from flask import Flask, session | |
app = Flask(__name__) | |
app.session = dict() | |
@app.route('/') | |
def reset(): | |
app.session["counter"]=0 |
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
import arrow | |
dates = [arrow.now().replace(days=x).format('YYYY-MM-DD') for x in range(90)] | |
for x in dates: print 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
set the currentSource to (do shell script "/Users/askedrelic/bin/SwitchAudioSource -c") | |
if currentSource is equal to "Built-in Output" then | |
do shell script "/Users/askedrelic/bin/SwitchAudioSource -s \"Built-in Line Output\"" | |
else | |
do shell script "/Users/askedrelic/bin/SwitchAudioSource -s \"Built-in Output\"" | |
end if |
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
cut -c1-8 |
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
- debug: var=another_fact | |
- name: Perform a rot13 | |
debug: msg="The word {{ roman_name }} becomes {{ roman_name | rot13 }}" | |
- name: get hostvars for servers' ansible_default_ipv4 | |
set_fact: | |
ip_list1: "{{ hostvars|fetchlistfromdict(groups.servers)|map(attribute='ansible_default_ipv4.address')|list }}" | |
- name: turn to FOO |
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
# better mv | |
find . -name "*.symlink" -exec sh -c 'echo "$1" ".${1%.symlink}"' _ {} \; |
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
# install Gemfile | |
bundle | |
bundle lock | |
gem install | |
# uninstall all unnecesary gems | |
gem cleanup |
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
<script type="text/babel"> | |
var SAMPLE_DATA = [ | |
{"unread": false, "desc": "Hey, I just wanted to check in with you from Toronto. I got here earlier today.", "name": "Tilo Mitra", "avatar": "http://api.twitter.com/1/users/profile_image?screen_name=tilomitra&size=bigger", "subject": "Hello from Toronto", "timestamp": "3:56pm, April 3, 2012", "content": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."}, | |
{"unread": true, "desc": "Hey, I had some feedback for pull request #51. We should center the menu so it looks better on mobile.", "name": "Eric Ferraiuolo", "avatar": "http://api.twitter.com/1/users/profile_image?screen_name=yuilibrary&size=bigger", "subject": "Re: Pull Requests", "timestamp": "2:27pm, April 3, 2012", "content": "Duis aute irure dolor in reprehenderit in voluptate velit essecillum dolore eu fugiat null |
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
TIMEZONES = [ | |
('Pacific/Pago_Pago', "-11:00 - Samoa, Midway Island"), | |
('America/Adak', "-10:00 - Aleutian Islands"), | |
('Pacific/Honolulu', "-10:00 - Hawaii"), | |
('Pacific/Marquesas', "-09:30 - Marquesas Islands"), | |
('Pacific/Gambier', "-09:00 - Gambier Islands"), | |
('America/Anchorage', "-09:00 - Alaska"), | |
('America/Los_Angeles', "-08:00 - US Pacific Time (US & Canada)"), | |
('Pacific/Pitcairn', "-08:00 - Pitcairn Islands"), | |
('America/Phoenix', "-07:00 - Arizona Mountain Standard Time"), |
NewerOlder