Skip to content

Instantly share code, notes, and snippets.

View clamstew's full-sized avatar
🧘
🎨 🤖 🚀 vibe-coding 24/7. Let's Go!

Clay Stewart clamstew

🧘
🎨 🤖 🚀 vibe-coding 24/7. Let's Go!
View GitHub Profile
@clamstew
clamstew / doctype.sublime-snippet
Created October 6, 2015 18:24
The doctype sublime snippet, so I can free it from the Library/Application Support/Sublime 3/ folder that I keep copying it from on old computers
<snippet>
<content><![CDATA[
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>My Title</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
@dfletcher
dfletcher / tsws
Last active July 21, 2018 12:47
Totally simple web server using Bash and netcat (nc)
Moved to a proprer repositoy, TSWS is a real boy now!
https://github.com/dfletcher/tsws
PRs welcomed.
@dkarter
dkarter / forcelowercase.js
Created January 21, 2015 17:25
Angular directive to force lowercase letters on an input textbox as you type
'use strict';
/**
* @ngdoc directive
* @name myapp.directive:forceLowerCase
* @description
* # forceLowerCase
*/
angular.module('myapp')
.directive('forceLowerCase', function ($parse) {
@wangsha
wangsha / osx_chrome_insecure
Created November 16, 2014 06:21
osx run chrome in insecure mode
open -a Google\ Chrome --args --disable-web-security --allow-running-insecure-content
@wkjagt
wkjagt / audio-book-reader.md
Last active September 3, 2025 19:58
How I built an audio book reader for my nearly blind grandfather

#How I built an audio book reader for my nearly blind grandfather

Tweet this - Follow me

Last year, when visiting my family back home in Holland, I also stopped by my grand-parents. My grand-father, now 93 years old, had always been a very active man. However, during the presceding couple of months, he'd gone almost completely blind and now spent his days sitting in a chair. Trying to think of something for him to do, I suggested he try out audio books. After finally convincing him -- he said audio books were for sad old people -- that listening to a well performed recording is actually a wonderful experience, I realized the problem of this idea.

####The problem with audio devices and the newly blind. After my first impulse to jump up and go buy him an

@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active October 13, 2025 20:38
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

@CrocoDillon
CrocoDillon / cookies.js
Last active February 11, 2024 22:42
Export your awesome module using AMD, CommonJS, Node.js or just as global.
/*
* Inspiration (well… copy pasting more or less) from:
* https://github.com/ScottHamper/Cookies/blob/0.3.1/src/cookies.js#L127-L140
*
* Thanks Scott!
*/
(function (global) {
'use strict';
var MyModule = function () {
@sangeeths
sangeeths / github-to-bitbucket
Created March 10, 2014 15:24
Forking a Github repo to Bitbucket
Go to Bitbucket and create a new repository (its better to have an empty repo)
git clone [email protected]:abc/myforkedrepo.git
cd myforkedrepo
Now add Github repo as a new remote in Bitbucket called "sync"
git remote add sync [email protected]:def/originalrepo.git
Verify what are the remotes currently being setup for "myforkedrepo". This following command should show "fetch" and "push" for two remotes i.e. "origin" and "sync"
git remote -v
@skwp
skwp / dynamic_method_spec.rb
Created December 7, 2013 00:44
Fail your build for user-defined style rules.
require 'spec/support/grep_matcher'
describe do
disallow_presence_of pattern: "send(.*#",
location: "app/",
description: "Do not use dynamic method invocations",
failure: "Please change dynamic method call to something more sane."
end
@harshpatel
harshpatel / thankyouaustin
Created November 28, 2013 02:51
Thank you Austin
# Thank you Austin!
When we first came to Austin to start [MakerSquare](www.themakersquare.com), we were excited to dive into a growing tech scene with an entrepreneurial spirit. Austin is one of the fastest growing cities in the U.S. and we were happy to be in a position to help it grow. Over the past ten months we’ve graduated over 50 developers and currently have an additional 40 students learning Ruby on Rails & JavaScript. People have come from all over the world to take part in MakerSquare, and are leaving with a solid start to their development careers.
Looking back and reflecting on what got us here, we realized we would be nowhere without the support of the Austin community, and for that, we thank you. Austin is a special place to start a company. On behalf of the 56 alumni, 40 students and 16 staff members at MakerSquare, thank you, Austin.
Thank you, [Josh](http://www.twitter.com/joshbaer) and [Capital Factory](http://capitalfactory.com/), for hosting a meetup literally every day of the week.