Skip to content

Instantly share code, notes, and snippets.

@cycyewt
cycyewt / iOSWebAppMisc
Created June 24, 2013 08:53
ios web app misc
<!-- iOS Device Startup Images -->
<!-- iPhone/iPod Touch Portrait – 320 x 460 (standard resolution) -->
<link rel="apple-touch-startup-image" href="images/ios/iphone-startup-320-460.png" media="screen and (max-device-width: 320px) and (-webkit-min-device-pixel-ratio: 1)" />
<!-- iPhone/iPod Touch (high-resolution) Portrait – 640 x 920 pixels -->
<link rel="apple-touch-startup-image" href="images/ios/iphone-startup-640-920.png" media="screen and (max-device-width: 320px) and (-webkit-min-device-pixel-ratio: 2)" />
<!-- iPad Landscape 1024x748 -->
<link rel="apple-touch-startup-image" sizes="1024x748" href="images/ios/ipad-startup-1024-748.png" media="screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) and (-webkit-min-device-pixel-ratio: 1)" />
#include <stdint.h>
#include <stdlib.h>
static char encoding_table[] = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H',
'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P',
'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X',
'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f',
'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n',
'o', 'p', 'q', 'r', 's', 't', 'u', 'v',
@Angelfirenze
Angelfirenze / Freelance
Last active December 18, 2015 21:39
An introduction to what I intend to accomplish once I begin freelancing, hopefully full-time.
The plot - or is it story map? - of what I want to be when I grow up.
I should actually probably title this 'Ambition', come to to think of it...
My first goal is to become certified in Computer Science, hopefully at Lawrence Technical University in Southfield, unless I am able to access a possible future satellite in Detroit. Another option is working toward more direct certification under Grand Circus to obtain training for as many languages in programming as is safely humanly possible for the purpose of obtaining further employment in Grand Circus, itself.
Simultaneously, more efforts through Girl Develop It! and combining the subsequent skillet would allow for further flexibility when interacting with the client base I am currently working on building.
My main goal is to be able to provide both Web design and tech support through an as of yet unspecified team to be built and announced at a later date.
@MichalPekala
MichalPekala / wifi-network-monitor.sh
Created February 28, 2013 23:45
Raspberry Pi WiFi Network Monitor
#!/bin/bash
while true ; do
if ifconfig wlan0 | grep -q "inet addr:" ; then
sleep 60
else
echo "WiFi network connection down! Attempting reconnection."
ifup --force wlan0
sleep 10
fi
@zaach
zaach / gist:5061155
Last active July 7, 2024 14:12
Taming Configurations with node-convict

Taming Configurations with node-convict

In this installment of "A Node.JS Holiday Season" series we'll take a look at node-convict, a tool to help manage the configuration of node.js applications.

There are two main concerns regarding application configuration:

  • Most applications will have at least a few different deployment environments, each with their own configuration needs.
  • Including credentials and sensitive information in source can be problematic.
@saimonmoore
saimonmoore / gist:5061143
Created February 28, 2013 23:41
Conditional execution
$ irb
>> class C
>> def self.opt?
>> true
>> end
>> end
=> nil
>>
?> module B
>> def foo
@Superbil
Superbil / init-gnus.el
Created February 22, 2013 13:44
Gmail for gnus in emacs
;; You need this to be able to list all labels in gmail
(setq gnus-ignored-newsgroups "")
;; And this to configure gmail imap
(add-to-list 'gnus-secondary-select-methods '(nnimap "gmail"
(nnimap-address "imap.gmail.com")
(nnimap-server-port 993)
(nnimap-stream ssl)))
(provide 'init-gnus)
@Angelfirenze
Angelfirenze / NCBITools-PubReader Ruby
Last active December 14, 2015 01:59
Commit 1430da6ef7 on NCBITools/PubReader
GitHub commit files based on PubMed, the public online medical reference library that - like Wikipedia- anyone can add to and/or/or edit.
@jordanyaker
jordanyaker / javascript libraries.md
Created February 22, 2013 01:50
This is a compiled list of JavaScript libraries that I wanted to keep track of.

#JavaScript Libraries

The following is a list of JavaScript libraries that I've used or seen in action.

##Alerts and Notifications jQuery.Alerts

This library was part of the It's Brain theme that I worked with. It has easily stylable dialogs using a variety of types.

jGrowl