This file contains hidden or 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
| $.ajax({ | |
| url: authurl, | |
| async: false, | |
| type: "GET", | |
| dataType: "json", | |
| statusCode: { | |
| 503: function(e) { | |
| console.log(e); | |
| if(typeof errorCallback === "function") { | |
| errorCallback(e); |
This file contains hidden or 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
| https://172.29.1.60:631/printers/HP_LaserJet_2100_Series_LPT_parport0_HPLIP |
This file contains hidden or 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
| (function (global) { | |
| var CommandList = (function () { | |
| return { | |
| test:function (term) { | |
| term.echo("foo"); | |
| }, | |
| help:function (term,args) { | |
| term.echo("help " + args.join(" ")); | |
| }, |
This file contains hidden or 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
| /** | |
| * Created with JetBrains PhpStorm. | |
| * User: vileda | |
| * Date: 03.06.12 | |
| * Time: 22:23 | |
| * To change this template use File | Settings | File Templates. | |
| */ | |
| var twitter = require('ntwitter'); | |
| var Iconv = require('iconv').Iconv; |
This file contains hidden or 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 R1, data1 | |
| SET R2, data2 | |
| :loop IFE R1, R2 | |
| HLT | |
| OUT [R1] | |
| INC R1 | |
| SET IP, loop | |
| :data1 DAT $"foobar\n", 0 |
This file contains hidden or 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 ruby | |
| # encoding: utf-8 | |
| WICHTEL = [] | |
| mailtpl = `cat mailtpl.txt` | |
| File.open('wichtel.txt', 'r').each do |f| | |
| WICHTEL << f.strip | |
| end |
This file contains hidden or 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
| cat .zsh/theme | |
| PROMPT=$' | |
| %{$fg[blue]%}%/%{$reset_color%} $(git_prompt_info)$(bzr_prompt_info)%{$fg[white]%}[%n@%m]%{$reset_color%} %{$fg[white]%}[$(load_info)]$(ssh_connection)%{$reset_color%} | |
| %{$fg_bold[black]%}>%{$reset_color%} ' | |
| PROMPT2="%{$fg_blod[black]%}%_> %{$reset_color%}" | |
| GIT_CB="git::" | |
| ZSH_THEME_SCM_PROMPT_PREFIX="%{$fg[green]%}[" | |
| ZSH_THEME_GIT_PROMPT_PREFIX=$ZSH_THEME_SCM_PROMPT_PREFIX$GIT_CB |
This file contains hidden or 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
| # This file has been auto-generated by i3-config-wizard(1). | |
| # It will not be overwritten, so edit it as you like. | |
| # | |
| # Should you change your keyboard layout somewhen, delete | |
| # this file and re-run i3-config-wizard(1). | |
| # | |
| # i3 config file (v4) | |
| # | |
| # Please see http://i3wm.org/docs/userguide.html for a complete reference! |
This file contains hidden or 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 Pad = require('ep_etherpad-lite/node/db/Pad.js').Pad; | |
| var myPad = new Pad(myPadID); | |
| pad.getLastEdit(); //undefined | |
| pad.getLastEdit(function(err, meta, stamp) { | |
| err; //null | |
| meta; //null | |
| stamp; //undefined | |
| }); |
This file contains hidden or 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
| function ssh_connection() { | |
| if [[ -n $SSH_CONNECTION ]]; then | |
| echo "%{$fg_bold[red]%}(ssh) " | |
| fi | |
| } |
OlderNewer