Skip to content

Instantly share code, notes, and snippets.

View gyaresu's full-sized avatar

Gareth gyaresu

View GitHub Profile
@epixoip
epixoip / 8x980_updated.md
Last active October 25, 2017 03:16
** UPDATED 4/16 ** 8x GTX 980 cudaHashcat Benchmark

8x GTX 980 cudaHashcat Benchmark

Product: Sagitta Brutalis 980 (PN S2480-GTX-980)

Software: cudaHashcat 1.36b25, ForceWare 346.35

Accelerator: 8x Nvidia GTX 980 reference design, +250 clock offset

Highlights

@Zulko
Zulko / Eugene_hey.py
Created February 9, 2015 20:23
Eugene saying hey!
# Result: http://i.imgur.com/thrh1TU.gif
from moviepy.editor import *
# We start with a looping gif, and we will add some text
clip = VideoFileClip("eugene.gif").speedx(0.7) # slow down a little
txt = (TextClip("Hey", fontsize=78, font='Impact-Normal',
color='yellow', stroke_color='black',
stroke_width=3, kerning=1.5)
@Zulko
Zulko / rapunzel_moviepy.py
Last active May 1, 2023 21:22
Tangled + MoviePy
"""
This creates the following GIF, where the text appears to be "embedded"
in the video and "disappears" behind rapunzel.
http://i.imgur.com/gxEHfLX.gif
"""
from moviepy.editor import *
import numpy as np
import skimage.morphology as skm
@ericelliott
ericelliott / essential-javascript-links.md
Last active March 22, 2025 17:28
Essential JavaScript Links
@machinaut
machinaut / fm_example.grc
Created August 12, 2014 21:15
FM Receiver gnuradio example for the HackRF One SDR
<?xml version='1.0' encoding='ASCII'?>
<flow_graph>
<timestamp>Tue Aug 12 14:13:51 2014</timestamp>
<block>
<key>options</key>
<param>
<key>id</key>
<value>fm_receiver</value>
</param>
<param>
@DanHerbert
DanHerbert / fix-homebrew-npm.md
Last active November 27, 2024 13:36
Instructions on how to fix npm if you've installed Node through Homebrew on Mac OS X or Linuxbrew

OBSOLETE

This entire guide is based on an old version of Homebrew/Node and no longer applies. It was only ever intended to fix a specific error message which has since been fixed. I've kept it here for historical purposes, but it should no longer be used. Homebrew maintainers have fixed things and the options mentioned don't exist and won't work.

I still believe it is better to manually install npm separately since having a generic package manager maintain another package manager is a bad idea, but the instructions below don't explain how to do that.

Fixing npm On Mac OS X for Homebrew Users

Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.

@dpslwk
dpslwk / i2c_24lc256.py
Last active August 12, 2019 09:14
B025 - RTC/EEPROM/TMP Example For the 24LC256 EEPROM http://docs.ciseco.co.uk/RET
#!/usr/bin/env python
# -*- coding: utf-8 -*-
""" B025 - RTC/EEPROM/TMP Example For the 24LC256 EEPROM
Copyright (c) 2013 Ciseco Ltd.
Author: Matt Lloyd
Requires wiringpi2-python for i2c interface
This code is distributed in the hope that it will be useful,
@csete
csete / ais_rx.grc
Created September 11, 2013 14:45
2 channel AIS receiver prototyped in GNU Radio Companion (version 3.7.1)
<?xml version='1.0' encoding='ASCII'?>
<flow_graph>
<timestamp>Wed Sep 11 16:13:12 2013</timestamp>
<block>
<key>variable</key>
<param>
<key>id</key>
<value>xlate_filter_taps</value>
</param>
<param>
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active May 5, 2025 13:05
A badass list of frontend development resources I collected over time.
@chrislkeller
chrislkeller / import_json_appsscript.js
Last active May 14, 2025 01:31
Adds what amounts to an =ImportJSON() function to a Google spreadsheet... To use go to Tools --> Script Editor and add the script and save.
/**
* Retrieves all the rows in the active spreadsheet that contain data and logs the
* values for each row.
* For more information on using the Spreadsheet API, see
* https://developers.google.com/apps-script/service_spreadsheet
*/
function readRows() {
var sheet = SpreadsheetApp.getActiveSheet();
var rows = sheet.getDataRange();
var numRows = rows.getNumRows();