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
manhattantimesnews.com. 172800 IN NS ns1.m28.siteground.biz. | |
manhattantimesnews.com. 172800 IN NS ns2.m28.siteground.biz. | |
;; Received 94 bytes from 192.26.92.30#53(192.26.92.30) in 19 ms | |
manhattantimesnews.com. 14400 IN A 181.224.140.118 | |
manhattantimesnews.com. 86400 IN NS ns1.vm2936.sgvps.net. | |
manhattantimesnews.com. 86400 IN NS ns2.vm2936.sgvps.net. | |
;; Received 108 bytes from 181.224.147.71#53(181.224.147.71) in 48 ms | |
$ host ns1.vm2936.sgvps.net |
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 ruby | |
require 'csv' | |
require 'nexpose' | |
require 'highline/import' | |
require 'ipaddr' | |
class String | |
# ask String if it's an IPv4 address | |
def ipv4? |
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
(defun browse-url-display (url &optional _new-window) | |
;; new-window ignored | |
"Open a help window displaying the requested URL." | |
(interactive (browse-url-interactive-arg "URL: ")) | |
(with-help-window "*url*" | |
(princ (list url)))) | |
(setq browse-url-browser-function 'browse-url-display) |
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
(defun tw-nopol (tweet) | |
(setq mat nil) | |
(dolist (pat '("DNC" "RNC" "Bernie" "Clinton" "Hillary" "#DemsInPhilly" "Trump" "#RNCinCLE" "fascis" "politic" "conservati" "liberal" "election" "voting") mat) | |
(if (string-match pat (cdr (assq 'text tweet))) | |
(setq mat t)))) | |
(twittering-visit-timeline '":exclude-if/tw-nopol/:home") |
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
/** | |
* STEP 1: Setup | |
* - Open Chrome Secure Shell settings | |
* - Open JS Console (CTRL+SHIFT+J) | |
* - Copy and paste the following: | |
*/ | |
var s7d_colours = { | |
'base03': '#002b36', | |
'base02': '#073642', | |
'base01': '#586e75', |
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
;; I have no idea why it works. This is the product of 4 hours of trial-and-error. | |
(defun dotspacemacs/user-init () | |
"Initialization function for user code. | |
It is called immediately after `dotspacemacs/init'. You are free to put almost | |
any user code here. The exception is org related code, which should be placed | |
in `dotspacemacs/user-config'." | |
(server-start) | |
(require 'org-protocol) | |
) |
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
#!/bin/sh | |
# | |
# Delete a VPC and its dependencies | |
if [ -z "$1" ] then | |
echo "usage: $0 <vpcid>" | |
exit 64 | |
fi | |
vpcid="$1" |
OlderNewer