Skip to content

Instantly share code, notes, and snippets.

View Calyhre's full-sized avatar
📝
Leading development on @sliteteam's editor

Charley DAVID Calyhre

📝
Leading development on @sliteteam's editor
View GitHub Profile
@Calyhre
Calyhre / keybase.md
Last active April 9, 2017 17:33
Keybase proof for keybase.io/Calyhre

Keybase proof

I hereby claim:

  • I am Calyhre on github.
  • I am calyhre (https://keybase.io/calyhre) on keybase.
  • I have a public key whose fingerprint is 24BC 5057 077B FFB8 7516 D4F7 3668 E747 0476 64F4

To claim this, I am signing this object:

@Calyhre
Calyhre / delete_old_slack_files.js
Last active August 13, 2018 16:53
Delete all Slack files older than 30 days, for a specific user
const https = require('https');
// Get your token here https://api.slack.com/custom-integrations/legacy-tokens
const TOKEN = '';
// Find your user ID here https://api.slack.com/methods/auth.test/test
const USER_ID = '';
const delay = 300; // delay between delete operations in millisecond
const baseApiUrl = 'https://slack.com/api/';
const fileListApiUrl = baseApiUrl + 'files.list?token=' + TOKEN + '&count=1000';
@Calyhre
Calyhre / vscode-experiments.json
Created October 12, 2018 20:39
Microsoft Visual Studio Code "Experiments" 👀
{
"experiments": [
{
"id": "cdias.v2",
"enabled": true,
"condition": {
"displayLanguage": "en",
"installedExtensions": {
"excludes": [
"ms-azuretools.vscode-azureappservice"
@Calyhre
Calyhre / Instructions.txt
Created April 15, 2020 16:19
Autonomous.ai Smart Desk 2 – Change display unit
Change centimeters to inches. Instruction as below:
- Press and hold 1, 2 & M buttons at the same time until it flashes "C-E"
- Press 2 & 3 at the same time if you want to change to inches - it will flash E
- Press 1 if you want to centimeters - it will flash C