Skip to content

Instantly share code, notes, and snippets.

@loopmode
loopmode / gitlab-secrets-bookmarklets.md
Last active Nov 11, 2020
Bookmarklet: Gitlab Secrets
View gitlab-secrets-bookmarklets.md

gitlab secrets bookmarklets

Helper bookmarklets to display all keys and values of a gitlab secrets page in a single element. This way, you can copy them all in one go.

gitlab_secrets_bookmarklets

Why? Because otherwise, you'd have to select, copy and paste each key and value manually, which is tedious.

Not a common use case, but I needed this several times, e.g. when requested by project managers, or when you need to replicate deployments or builds on a different system or locally.

@tracker1
tracker1 / detect-fastest-dns.sh
Last active Apr 6, 2018
Linux Troubleshooting
View detect-fastest-dns.sh
curl https://raw.githubusercontent.com/cleanbrowsing/dnsperftest/master/dnstest.sh | bash | sort -k 22 -n
View cpuprofiler.js
/**
* Simple userland CPU profiler using v8-profiler
* Usage: require('[path_to]/CpuProfiler').init('datadir')
*
* @module CpuProfiler
* @type {exports}
*/
var fs = require('fs');
var profiler = require('v8-profiler');
@tkafka
tkafka / LICENSE.txt
Last active Sep 5, 2019
Drop-in replacement for ReactCSSTransitionGroup that uses velocity.js instead of CSS transforms. Add your own transitions to `transitions` hash.
View LICENSE.txt
The MIT License (MIT)
Copyright (c) 2014 Tomas Kafka
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
View bot.js
var irc = require('irc');
var express = require('express');
var app = express.createServer();
var net = require('net');
COMMAND_PREFIX="!";
admins = ['flexd', 'DikkeDikke', 'Rolsen'];
//var ts = net.connect({host: "hobby.host1.no", port: 10011});
//ts.on('data', function(data) {
// console.log(data.toString());
@tehmaze
tehmaze / cp437.py
Created Sep 13, 2012
cp437 in python
View cp437.py
#!/usr/bin/python
# _______
# ____________ _______ _\__ /_________ ___ _____
# | _ _ \ _ | ____\ _ / | |/ _ \
# | / / / / | | | /___/ _ | | / /
# |___/___/ /___/____|________|___ | |_| |___|_____/
# \__/ |___|
#
#
# (c) 2009-2012 Wijnand Modderman-Lenstra <maze@pyth0n.org>