Skip to content

Instantly share code, notes, and snippets.

@thdxr
thdxr / Categories.json
Created August 10, 2012 06:29
Clossit Files
{"Categories": [
{
"Names": [
"shoe"
],
"Tags": [
"sneaker",
"boot",
"heel",
"wedge",
import java.sql.SQLException;
public class Example {
public static void main() {
HiveClient client = new HiveClient();
try {
client.Connect();
HiveClient.Provider p = client.GetProvider(123123123);
System.out.printf("%s %s%n", p.getFirst(), p.getLast());
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Bulb
{
@thdxr
thdxr / simplify.js
Created October 10, 2015 06:27
Neo4j simplify results
simplify = item => {
if (typeof item !== 'object')
return item
const result = {}
for (let key in item) {
const value = item[key]
if (value instanceof Array && typeof value !== 'string') {
result[key] = value.map(this.simplify)
continue
}
@thdxr
thdxr / keybase.md
Created September 19, 2017 11:37
keybase.md

Keybase proof

I hereby claim:

  • I am thdxr on github.
  • I am thdxr (https://keybase.io/thdxr) on keybase.
  • I have a public key ASCxEHp8UQsAPg-Hm83oXp1LnyqBfVn2Ro9kgSIgZv9xYwo

To claim this, I am signing this object:

0xf35999D248e7EcFCDb5A2FDE9A0FB9e1c0d5C30A
0x276C6ee3397740F8ae0383f326C6A2559C100d8f
0x276C6ee3397740F8ae0383f326C6A2559C100d8f
@thdxr
thdxr / run.js
Created November 8, 2023 02:28
Remove all linkedin connections
// Run on https://www.linkedin.com/mynetwork/invite-connect/connections/
while(true) {
document.querySelector('.mn-connection-card__dropdown-trigger').click()
await new Promise(resolve => setTimeout(resolve, 500))
document.querySelector(".artdeco-dropdown__content-inner button").click()
await new Promise(resolve => setTimeout(resolve, 500))
document.querySelector("[data-test-dialog-primary-btn]").click()
await new Promise(resolve => setTimeout(resolve, 500))
}