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
| ~$ curl -v -v -v -s https://get.rvm.io | |
| * Rebuilt URL to: https://get.rvm.io/ | |
| * Hostname was NOT found in DNS cache | |
| * Trying 97.107.133.48... | |
| * Trying 2600:3c03::f03c:91ff:fedb:6957... | |
| * connect to 2600:3c03::f03c:91ff:fedb:6957 port 443 failed: Network is unreachable | |
| * Failed to connect to get.rvm.io port 443: Network is unreachable | |
| * Closing connection 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
| package main | |
| import ( | |
| "fmt" | |
| //"os" | |
| //"regexp" | |
| "strings" | |
| "encoding/json" | |
| "github.com/SlyMarbo/rss" | |
| "github.com/moovweb/gokogiri" |
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
| <script type="text/javascript"> | |
| $(function() { | |
| $("#expand-copyrights").click(function(event) { | |
| alert('ooo'); | |
| event.preventDefault(); | |
| alert('ooo'); | |
| $("#extended-copyrights").show(); | |
| }); | |
| }); | |
| </script> |
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
| Xft.dpi: 96 | |
| Xft.antialias: true | |
| Xft.rgba: rgb | |
| Xft.hinting: true | |
| Xft.hintstyle: hintslight | |
| Xft.lcdfilter: lcddefault | |
| XTerm*utf8: 2 | |
| ! to match gnome-terminal "Linux console" scheme |
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
| #!/bin/bash | |
| i3-msg 'workspace 2; rename workspace 2 to Apple;' | |
| i3-msg 'workspace Apple; exec chrome --new-window;' | |
| i3-msg 'workspace Apple; exec ~/.i3/xterm_in_directory ~/work/apple;' |
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
| def store_dir | |
| "uploads/" + case model.class | |
| when Gallery | |
| model.gallery.page.site.id | |
| when Content | |
| model.content.page.site.id | |
| when MenuCategory | |
| model.menu_category.menu.page.site.id | |
| else | |
| model.site.id |
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 nocompatible | |
| set backspace=indent,eol,start | |
| set ignorecase | |
| set t_Co=256 | |
| colorscheme murphy | |
| set guioptions-=T | |
| set expandtab | |
| set autoindent | |
| set shiftwidth=2 |
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
| SHELL=/bin/bash | |
| # m h dom mon dow command | |
| 0 0 * * * /.../run_in_current rake db:backup |
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
| #include <stdio.h> | |
| #include <string.h> | |
| #include <stdlib.h> | |
| #include "bigint.h" | |
| /* this library provides for a bigint type, which can hold numbers of an unlimited length. | |
| You can add them together as well.*/ | |
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
| class ActiveRecord::Base | |
| def self.fake_model(*columns_arr) | |
| alias_method :save, :valid? | |
| def columns | |
| @columns ||= [] | |
| end | |
| @columns ||= [] |