Skip to content

Instantly share code, notes, and snippets.

View diegotf30's full-sized avatar

Diego Treviño diegotf30

  • Google
  • Mexico
View GitHub Profile
@diegotf30
diegotf30 / text2json.py
Last active August 7, 2018 21:59
Transforms sizes.txt to JSON format, used in Meme-bot repo
import json
def tuple2str(str1, str2) :
return '(' + str1 + ',' + str2 + ')'
jsonData = {}
file = open('sizes.txt')
file.readline() # Ignore header
@diegotf30
diegotf30 / redshift.conf
Created May 21, 2019 17:28
Redshift Configuration
; Global settings for redshift
[redshift]
; Set the day and night screen temperatures
temp-day=4500
temp-night=3500
; Disable the smooth fade between temperatures when Redshift starts and stops.
; 0 will cause an immediate change between screen temperatures.
; 1 will gradually apply the new screen temperature over a couple of seconds.
fade=1
@diegotf30
diegotf30 / keybindings.json
Last active May 30, 2019 21:56
VSCode Settings
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+g",
"command": "-workbench.action.gotoLine"
},
{
"key": "ctrl+t",
"command": "-workbench.action.showAllSymbols"
},
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+g",
"command": "-workbench.action.gotoLine"
},
{
"key": "ctrl+t",
"command": "-workbench.action.showAllSymbols"
},
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@diegotf30
diegotf30 / proyecto-final.ipynb
Last active November 19, 2019 04:42
Metodos cuantitativos fase 1
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@diegotf30
diegotf30 / Twitter_ADB.ipynb
Created November 21, 2019 23:24
Twitter ADB
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@diegotf30
diegotf30 / Proyecto Final.ipynb
Created May 15, 2020 01:20
Paul - Proyecto Inteligencia Computacional
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@diegotf30
diegotf30 / keybindings.json
Last active September 24, 2021 00:06
VSCode keyboard shortcuts
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "cmd+g",
"command": "-workbench.action.gotoLine"
},
{
"key": "ctrl+t",
"command": "-workbench.action.showAllSymbols"
},