// Keeps info about users account in bank
typedef struct account {
// account number in bank
int account_number;
char *first_name;
char *last_name;
// balance in bank
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
adb shell dumpsys battery | grep level |
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
var commentTree = document.getElementsByClassName('comment-tree')[0].getElementsByTagName('tbody')[0]; | |
var colls = document.getElementsByClassName('comtr'); | |
var newColls = [] | |
for(var i=0; i<colls.length; i++) { | |
newColls.push(colls[i]) | |
} | |
newColls.sort(function(a,b) { | |
var counta = parseInt(a.getElementsByClassName('togg')[0].getAttribute('n'), 10) |
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
module.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: 14, | |
// font family with optional fallbacks | |
fontFamily: 'Inconsolata, Menlo, "DejaVu Sans Mono", "Lucida Console", monospace', | |
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk) | |
cursorColor: 'rgba(248,28,229,0.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
digraph { | |
Ruby -> Scala [ label = "Twitter (2011)" ]; | |
MongoDB -> PostgreSQL [ label = "Urban Airship (2011)" ]; | |
"?" -> Go [ label = "MoovWeb (2012)" ]; | |
Perl -> Go [ label = "NTP Pool (2012)" ]; | |
"C++" -> Go [ label = "DLGoogle (2012)" ]; | |
Ruby -> Go [ label = "SoundCloud (2012)" ]; | |
".NET" -> Go [ label = "SmartyStreets (2012)" ]; | |
Ruby -> Go [ label = "Toggl (2012)" ]; | |
MongoDB -> Riak [ label = "Shareaholic (2012)" ]; |
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
$ScriptPath = Split-Path -parent $PSCommandPath | |
. "$ScriptPath\Get-ChildItem-Color\Get-ChildItem-Color.ps1" | |
Set-Alias l Get-ChildItem-Color -option AllScope | |
Set-Alias ls Get-ChildItem-Format-Wide -option AllScope | |
function Get-ChildItem-Force { l -Force } | |
set-alias la Get-ChildItem-Force -option AllScope | |
# Load posh-git example profile |
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
data Expr = T | |
| F | |
| U | |
| Not Expr | |
| And Expr Expr | |
| Or Expr Expr | |
| Impl Expr Expr | |
| Equiv Expr Expr | |
deriving Show |
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
elixir | |
====== | |
version used | |
------------ | |
1.2 | |
show version | |
------------ | |
$ elixir -v |