Skip to content

Instantly share code, notes, and snippets.

View adam-singer's full-sized avatar
👾

Adam Singer adam-singer

👾
View GitHub Profile
@vitorbritto
vitorbritto / devlist-bookmarks.md
Last active September 23, 2025 21:25
A BADASS list for faster Web Development! Recently, I decided to organize my bookmarks. So, like a good fellow, I am sharing with you. I hope you enjoy!

Dev List Bookmarks

Attention: the list was moved to https://github.com/vitorbritto/dev-list

This page is not maintained anymore, please update your bookmarks.


Recently, I decided to organize my bookmarks. So, like a good fellow, I am sharing with you. I hope you enjoy!

@trinitronx
trinitronx / truecrypt_fix.bash
Last active November 4, 2025 11:07 — forked from jimjh/truecrypt_fix.bash
Fixes annoying brew doctor messages caused by Truecrypt
#!/bin/bash
libs=( "/usr/local/lib/libmacfuse_i32.2.dylib" \
"/usr/local/lib/libosxfuse_i32.2.dylib" \
"/usr/local/lib/libosxfuse_i64.2.dylib" \
"/usr/local/lib/libmacfuse_i64.2.dylib" \
"/usr/local/lib/libosxfuse_i32.la" \
"/usr/local/lib/libosxfuse_i64.la" \
"/usr/local/lib/pkgconfig/osxfuse.pc" )
@damondouglas
damondouglas / hop_runner.dart
Last active December 16, 2015 20:39
Chained webui compiler.
library hop_runner;
import 'dart:async';
import 'dart:io';
import 'package:hop/hop.dart';
import 'package:hop/hop_tasks.dart';
void main() {
final String out = "out";
@sma
sma / lua.dart
Last active December 16, 2015 20:39
A parser and simple runtime system for a Lua interpreter written in Dart. Have fun with it! Should work with Dart M4.
// Copyright 2013 Stefan Matthias Aust. Licensed under MIT (http://opensource.org/licenses/MIT)
import 'dart:math' show pow;
/*
* This is a parser and runtime system for Lua 5.x which lacks most if not all of the Lua standard library.
* I created the parser a couple of years ago and now ported it to Dart just to see how difficult it would be.
*/
void main() {
@visenger
visenger / install_scala_sbt.sh
Last active January 31, 2023 19:10
Scala and sbt installation on ubuntu 12.04
#!/bin/sh
# one way (older scala version will be installed)
# sudo apt-get install scala
#2nd way
sudo apt-get remove scala-library scala
wget http://www.scala-lang.org/files/archive/scala-2.11.4.deb
sudo dpkg -i scala-2.11.4.deb
sudo apt-get update
@sma
sma / dexpess.md
Last active December 17, 2015 03:49
A tutorial on how to recreate some parts – the important ones, I hope – of Express.js in Dart.

Dexpress

I like [Express][1] for Node.js. I'd like to have a similar framework for Dart.

Let's create it. How hard can it be? :-)

Middleware is Everywhere

@Tomen
Tomen / webgl-demo.dart
Last active December 17, 2015 07:39 — forked from martinsik/webgl-demo.dart
import 'dart:html';
import 'dart:web_gl';
import 'dart:typed_data';
/**
* WebGL Demo made in Dart. It works in http://try.dartlang.org/
* Updated: 2013-05-14
* created by: http://martinsikora.com/dart-webgl-simple-demo
* updated by: https://plus.google.com/u/0/117240004279526018872
*/
@canadaduane
canadaduane / bbwifi.txt
Created May 19, 2013 18:41
BeagleBone WiFi can be manually enabled with "test-connman connect" but autoconnect fails
# Adventures In Wireless BeagleBone Black:
# What prevents my Edimax WiFi USB dongle from autoconnecting to my home WiFi network, "Catalina Island Network"?
# NOTE: If you're here to glean info for your own setup, note that I've installed the
# following two connman auxiliary packages which give the tools and test scripts in
# /usr/lib/connman/test that I use below
# $ opkg install connman-tools connman-tests
#
# Also, I've disabled power save mode for the WiFi so that the BBB can act as a server:
# $ cat > /etc/udev/rules.d/wifi_power_save.rules <<-EOF
@zhuowei
zhuowei / glasslabs.md
Last active December 17, 2015 14:29
Glass Labs experiments: what they do

Glass Lab Experiments

Updated: July 2nd (XE7)

Ron Amadeo of Android Police did a review of these experiments: http://www.androidpolice.com/2013/05/24/google-glasss-hidden-labs-features-ok-glass-everywhere-web-browsing-video-stabilization-and-more-video/

Google Glass has a series of Labs experiments that can be enabled on engineering or userdebug builds. Using APKTool, I've removed that restriction and now they can be enabled with root access.

To start, for example, the SOUND_SEARCH lab, type in a root shell

library streams;
import 'dart:html';
import 'dart:async';
import 'dart:uri';
import 'dart:json' as JSON;
import 'package:js/js.dart' as js;
main() {
var inputs =