Skip to content

Instantly share code, notes, and snippets.

View shmup's full-sized avatar
🐌

Jared Miller shmup

🐌
View GitHub Profile
@shmup
shmup / gist:10679237
Created April 14, 2014 20:11
Total eclipse of the Moon -- Traverse City, Michigan
Total eclipse of the Moon
Delta T: 67.0s
TRAVERSE CITY, MICHIGAN
o ' o '
W085 37, N44 46
Eastern Daylight Time
Moon's
@shmup
shmup / gist:10679402
Created April 14, 2014 20:14
Total eclipse of the Moon - Findlay
Total eclipse of the Moon
Delta T: 67.0s
FINDLAY, OHIO
o ' o '
W083 38, N41 03
Eastern Daylight Time
Moon's
find . -name 'appiniconfig.js' |
while read filename; do
perl -p -i.bak -e 's/ClickToEnlarge/clicktoenlarge/g' "$filename"
done
im suzi 22 years old ,,, i have project in my computer engineer can u help me plz sir
i make atemplates by t4 in vb 2012 as
entity ...Entity_Template
data access layer ....DAL_Template
buesnise logic layer .... BLL_Template
presentation layer
.. put now i want to make it as execute when i choose from drop down list Entity the custom tool of Entity_Template it run and when i choose data access layer the custom tool of DAL_Template.tt will run and so on
what the code for do that ..
i do this by click right on template and choose runcustom tool
but i want to make screen or form whith dropdownlist and execute button

The Great Law

In order to maintain peace in this large and ethnically diverse set of tribes that he had forged into one nation, he quickly proclaimed new laws to suppress the traditional causes of tribal feuding and war. The Great Law of Genghis Khan differed from that of other lawgivers in history. He did not base his law on divine revelation from God; nor did he derive it from an ancient code of any sedentary civilization. He consolidated it from the customs and traditions of the herding tribes as maintained over centuries; yet he readily abolished old practices when they hindered the functioning of his new society. He allowed groups to follow traditional law in their area, so long as it did not

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@shmup
shmup / -
Created May 12, 2014 17:04 — forked from rupa/-
#!/usr/bin/env python
import random
CHARS = {
'top': [
u'\u0300',
u'\u0301',
u'\u0302',
u'\u0303',
@shmup
shmup / focus.sh
Last active August 29, 2015 14:01
A thing for toggling two windows' focus
#!/bin/bash
# uses xdotool and wmctrl
if [[ $(xdotool getwindowfocus getwindowname) == *Google\ Chrome ]]; then wmctrl -a terminal; else wmctrl -a chrome; fi
class window.IdleTimer
constructor: () ->
@timer
@timeIncrement = 1000
@timeIdle = 0
@timeMax = 10000
@expired = false
@interactionMethods = ['click','mousemove']
# these should not be in here. move somewhere else.

THE CETACEAN BRAIN AND HOMINID PERCEPTIONS OF CETACEAN INTELLIGENCE

Posted on August 28, 2014 by Paul Watson

“What a piece of work is man! How noble in reason! How infinite in faculty! In form and moving how express and admirable! In action how like an angel! In apprehension how like a god! The beauty of the world! The paragon of animals!” – William Shakespeare, Hamlet

The human species may not be the paragon of animals as Hamlet so eloquently described to us. There is another group of species on this Earth perhaps more deserving of such lofty praise.