Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Ismael Venegas Castelló SalchiPapa

🎯
Focusing
Block or report user

Report or block SalchiPapa

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@SalchiPapa
SalchiPapa / hack.md
Created Oct 4, 2017
Advertise your Discord server...everywhere!
View hack.md

Free people for your Discord server!

Analytics (1005 views in an August week)

Server owners hate me! But today you'll see this one crazy and simple trick to increase your Discord server's size IMMEDIATELY! Wanna reach the same size as the Café does? Advertise as much as you can!

Found more? Ask austinhuang#1076 for edits. No server owners that hate me kthx By the way...

  1. IT IS NOT SUGGESTED TO ADVERTISE IN THE COMMENT BOX IN THIS GIST or register a GitHub account just for commenting here. IF YOU HAVE TO DO SO, PLEASE ADVERTISE RESPONSIBLY. For a long time, I have been tolerant enough and allow you to advertise here. Please don't challenge my limits. Don't spam. Don't stick your damn finger at Ctrl+V. 1 comment per server. No bumps. Or I'll let a script do the job for me (That is, delete every single comment, past and future).
  2. To add your listing server into this list your server must meet
@SalchiPapa
SalchiPapa / gist:f754394d2c6972d0d1fbc07c2c6a4a47
Created Sep 8, 2017 — forked from issackelly/gist:928783
Django Template {{ block.super }} example
View gist:f754394d2c6972d0d1fbc07c2c6a4a47
# Template: A.html
<html>
<head></head>
<body>
{% block hello %}
HELLO
{% endblock %}
</body>
</html>
@SalchiPapa
SalchiPapa / Growing A Discord Server.md
Created Aug 17, 2017 — forked from jagrosh/Growing A Discord Server.md
Tips for creating and growing a new Discord server
View Growing A Discord Server.md

This guide is still in-progress

Creating and Growing a Discord Server

logo

Introduction

Hello! I'm jagrosh#4824! I'm writing this guide to try to help new server owners set up and grow their servers, which is a commonly-requested topic. It's very easy to go about this the wrong way, so it's best to be prepared and make smart decisions so that your community can flourish!

Background

You might be wondering: why am I qualified to write this guide? Excellent question! Well, I've created several successful Discord servers, including the Monster Hunter Gathering Hall (14,000+ members, game community) and a bot support server (3,000+ members). I also help moderate several large servers, and I am a Discord partner. Finally, I am very familiar with the technical aspects of Discord, which are useful for setting up servers and permissions.

@SalchiPapa
SalchiPapa / zram.sh
Created Jul 25, 2017 — forked from sultanqasim/zram.sh
ZRAM config for Raspberry Pi 3
View zram.sh
#!/bin/bash
# Raspberry Pi ZRAM script
# Tuned for quad core, 1 GB RAM models
# put me in /etc/init.d/zram.sh and make me executable
# then run "sudo update-rc.d zram.sh defaults"
modprobe zram
echo 3 >/sys/devices/virtual/block/zram0/max_comp_streams
echo lz4 >/sys/devices/virtual/block/zram0/comp_algorithm
View pubnub_google_maps.html
<!doctype html>
<html>
<head>
<title>Google Maps Example</title>
<script src="https://cdn.pubnub.com/sdk/javascript/pubnub.4.4.1.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" />
</head>
<body>
<div class="container">
@SalchiPapa
SalchiPapa / index.html
Created Jun 21, 2017 — forked from johan/index.html
HTML5 GPS tracker
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>HTML5 GPS</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="style.css">
</head>
View Install the latest tmux (2.2 now) on CentOS 6.7
## you may need sudo permission to execute some commands or swith to root
# if installed old version by yum, remove it first
sudo yum remove tmux libevent libevent-devel libevent-headers
# install deps
sudo yum install gcc kernel-devel make ncurses-devel
# create temp dir
mkdir /tmp/for-latest-tmux
@SalchiPapa
SalchiPapa / httpGetJSON.jl
Created Nov 28, 2016 — forked from nrshrivatsan/httpGetJSON.jl
Julia lang - Read JSON from URL
View httpGetJSON.jl
#Importing Requests package
Pkg.add("Requests")
using Requests.get;
import JSON;
url = "http://query.yahooapis.com/v1/public/yql?q=select%20DaysRange%20from%20yahoo.finance.quotes%20where%20symbol%20in%20%28%22EBAY%22,%22GOOG%22%29%20&env=http://datatables.org/alltables.env&format=json";
#Reads the data from HTTP URL
es = get(url);
@SalchiPapa
SalchiPapa / spooky.jl
Created Nov 1, 2016 — forked from simonbyrne/spooky.jl
For my Raspberry Pi powered jack-o'-lantern
View spooky.jl
using SenseHat
import SenseHat: RGB565
function spooky(decay, arriv, refresh)
x = rand()
while true
x *= exp(-decay*refresh)
if rand() < arriv*refresh
x += (1-x)*rand()
end
View hover_short.jl
using Plots;glvisualize()
using GLVisualize, FileIO, Colors, Images
using GeometryTypes, GLAbstraction
x = ["(。◕‿◕。)", "◔ ⌣ ◔","(づ。◕‿‿◕。)づ", "┬──┬ ノ( ゜-゜ノ)", "(╯°□°)╯︵ ┻━┻", "¯\\_(ツ)_/¯"]
y = [-4, -3, -2, -1, 6, 0]
scatter(x, y)
t = bounce(linspace(-1.0f0,1f0, 20))
translation = map(t) do t
rotationmatrix_y(1f0)*rotationmatrix_z(deg2rad(90f0)) * translationmatrix(Vec3f0(3,3,t))
You can’t perform that action at this time.