acko=# create table tmp_foo (id int);
CREATE TABLE
acko=# insert into tmp_foo values (1);
INSERT 0 1
acko=# insert into tmp_foo values (2);
INSERT 0 1
acko=# insert into tmp_foo values (3);
INSERT 0 1
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
package main | |
/* | |
#cgo CFLAGS: -x objective-c | |
#cgo LDFLAGS: -framework Cocoa -framework Foundation | |
#import <Cocoa/Cocoa.h> | |
#import <Foundation/Foundation.h> | |
NSData *data; |
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 <Foundation/Foundation.h> | |
#import <Carbon/Carbon.h> | |
/*############################################################################### | |
# # | |
# changeInput # | |
# # | |
# author: Stefan Klieme (based on an idea by Craig Williams) # | |
# created: 2009-11-05 # | |
# Changes input language # | |
# Usage: changeInput prints current input language # |
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 | |
# Copyright 2017 Google Inc. All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.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
# -*- coding: utf-8 -*- | |
# License: BSD | |
import json | |
import os | |
import re | |
import time | |
from django import forms | |
from django.conf import settings |
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
# less -F: Causes less to automatically exit if the entire file can be displayed on the first screen. | |
# .zshrc | |
function printc () { | |
print "printc" $1 | |
} | |
autoload -Uz add-zsh-hook |
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
{ | |
"Abu Dhabi": "Asia/Muscat", | |
"Adelaide": "Australia/Adelaide", | |
"Alaska": "America/Juneau", | |
"Almaty": "Asia/Almaty", | |
"American Samoa": "Pacific/Pago_Pago", | |
"Amsterdam": "Europe/Amsterdam", | |
"Arizona": "America/Phoenix", | |
"Astana": "Asia/Dhaka", | |
"Athens": "Europe/Athens", |
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
-- What if we have had an or keyword for creating types. | |
-- | |
-- Motivation: I often have something that is of few other things. | |
-- | |
-- Example 1 from my code: | |
-- this is my Main Msg. Main does not have any UI, it is an SPA, it delegates different | |
-- pages / Modules for UI and updated etc. | |
type Msg |
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
### Keybase proof | |
I hereby claim: | |
* I am amitu on github. | |
* I am amitu (https://keybase.io/amitu) on keybase. | |
* I have a public key whose fingerprint is 0AE6 B0E1 9D24 7DD8 4DD0 2BB2 1514 4294 2930 5B79 | |
To claim this, I am signing this object: |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>KeepAlive</key> | |
<true/> | |
<key>Label</key> | |
<string>com.amitu.waitforit</string> | |
<key>ProgramArguments</key> | |
<array> |