Skip to content

Instantly share code, notes, and snippets.

Avatar

Sergio Guillen donkeysharp

View GitHub Profile
View mediainfo-evo-telefono.log
General
Complete name : evo-telefono.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (isom/mp41/mp42)
File size : 6.41 MiB
Duration : 1 min 2 s
Overall bit rate : 857 kb/s
Encoded date : UTC 2019-11-21 12:31:56
Tagged date : UTC 2019-11-21 12:31:59
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=H, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<h1>Soy un servidor víctima!!! :D</h1>
@donkeysharp
donkeysharp / hackmeeting.py
Created Sep 13, 2019
Hackmeeting0x7e3 animation
View hackmeeting.py
from asciimatics.effects import Stars, Print
from asciimatics.particles import RingFirework, SerpentFirework, StarFirework, \
PalmFirework
from asciimatics.renderers import SpeechBubble, FigletText, Rainbow
from asciimatics.scene import Scene
from asciimatics.screen import Screen
from asciimatics.exceptions import ResizeScreenError
from random import randint, choice
import sys
View test bash script
#!/bin/bash
echo "hello world"
read -ep 'Type something> ' input
echo $input
@donkeysharp
donkeysharp / index.js
Last active Mar 4, 2019
Simple Searh scrapper
View index.js
{
"name": "simple-search-scrapper",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "MIT",
View Sublime Text 3 cheating.md

Ref: https://gist.github.com/vertexclique/9839383

Important Note

Please use built-in Terminal.app (of Mac OS X) to type and rune the command, do not use another tool (like iTerm2).

Common step after enter run the patch command:

  • After run the commands, start new Sublime Text app, go to Main Menu > Help > Enter License. On the popup type in any text (example "a") and click Use Licence .
View Sublime Text 3 cheating.md

Ref: https://gist.github.com/vertexclique/9839383

Important Note

Please use built-in Terminal.app (of Mac OS X) to type and rune the command, do not use another tool (like iTerm2).

Common step after enter run the patch command:

  • After run the commands, start new Sublime Text app, go to Main Menu > Help > Enter License. On the popup type in any text (example "a") and click Use Licence .
@donkeysharp
donkeysharp / .tmux.conf
Last active Sep 7, 2018
My xfc4-terminal settings
View .tmux.conf
set -g base-index 1
set -g pane-base-index 1
set -g default-terminal screen-256color
#setw -g utf8 on
##### bind % split-window -h -c "#{pane_current_path}"
bind '%' split-window -h -c "#{pane_current_path}"
bind '"' split-window -v -c "#{pane_current_path}"
View main.diff
diff --git a/cmd/drone-docker-ecr/main.go b/cmd/drone-docker-ecr/main.go
index d27bd00..6907ee2 100644
--- a/cmd/drone-docker-ecr/main.go
+++ b/cmd/drone-docker-ecr/main.go
@@ -19,8 +19,8 @@ func main() {
var registryIds []*string
var (
ecrRegion = getenv("ECR_REGION", "PLUGIN_REGION")
- accessKey = getenv("ECR_ACCESS_KEY", "PLUGIN_ACCESS_KEY")
- secretKey = getenv("ECR_SECRET_KEY", "PLUGIN_SECRET_KEY")
@donkeysharp
donkeysharp / frankenstein_sublime.emacs
Last active Jun 12, 2018
There are many things I love from emacs navigation only inside code, so here I have a frankenstein version of those navigation commands plus others custom
View frankenstein_sublime.emacs
[
// Delete line
{ "keys": ["ctrl+d"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} },
// Find under expand
{ "keys": ["ctrl+shift+k"], "command": "find_under_expand" },
// Change workspace
{ "keys": ["ctrl+alt+shift+p"], "command": "prompt_select_workspace" },
{ "keys": ["ctrl+alt+shift+h"], "command": "show_scope_name" },
You can’t perform that action at this time.