Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Ismael Venegas Castelló SalchiPapa

🎯
Focusing
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 / HARTab.md
Last active Aug 6, 2020
HARTab: Harmonica ASCII Rhythmic Tablature.
View HARTab.md

HEARTab: Harmonica ASCII Rhythmic Tablature

Syntax

Standard syntax

Blow hole

+4
@SalchiPapa
SalchiPapa / Final_Fantasy_9-A_Place_To_Call_Home.md
Last active Aug 2, 2020
Final Fantasy IX: A Place To Call Home (HARTab)
View Final_Fantasy_9-A_Place_To_Call_Home.md
@SalchiPapa
SalchiPapa / limpia.py
Created Jul 7, 2014
Funcion para limpiar la pantalla en Python
View limpia.py
import subprocess as sp
import sys
def limpia():
plataforma = sys.platform
if plataforma.startswith('linux'):
sp.call('clear')
elif plataforma.startswith('win'):
sp.call('cls', shell=True)
View cling.repl
$ cling -std=c++17
****************** CLING ******************
* Type C++ code and press enter to run it *
* Type .q to exit *
*******************************************
[cling]$ #include <any>
[cling]$ #include <map>
[cling]$ #include <string>
[cling]$ using namespace std;
View check.vcxproj
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
View installed_embed.log
[OUTPUT]
Internal cmake changing into directory: C:/Users/Ismael_Venegas/Projects/pybind11/build/tests/test_cmake_build/installed_embed
======== CMake output ======
Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.18362.
Found pybind11 v2.4.dev4: C:/Users/Ismael_Venegas/Projects/pybind11/build/mock_install/include;C:/Users/Ismael_Venegas/AppData/Local/Continuum/anaconda3/include
Configuring
Configuring done
Generating
Generating done
Build files have been written to: C:/Users/Ismael_Venegas/Projects/pybind11/build/tests/test_cmake_build/installed_embed
@SalchiPapa
SalchiPapa / pybind11.log
Created Jan 23, 2020
PyBind11 error log
View pybind11.log
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 1/23/2020 9:54:23 AM.
Project "C:\Users\Ismael_Venegas\Projects\pybind11\build\tests\check.vcxproj" on node 1 (default targets).
Project "C:\Users\Ismael_Venegas\Projects\pybind11\build\tests\check.vcxproj" (1) is building "C:\Users\Ismael_Venegas\Projects\pybind11\build\ZERO_CHECK.vcxproj" (2) on node 1 (default targets).
InitializeBuildStatus:
Creating "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
All outputs are up-to-date.
@SalchiPapa
SalchiPapa / vcomp.jl
Last active Jan 14, 2020
`vcomp` macro: vector comprehensions with conditional `when` clause for Julia.
View vcomp.jl
"""
@vcomp(comprehension::Expr, when::Symbol, condition)
`@vcomp` (*vector comprehension*) based on Python's list comprehensions
with a conditional clause to filter elements in a succinct way.
# Examples
```julia
julia> @vcomp Int[i^2 for i in 1:10] when i % 2 == 0
5-element Array{Int,1}:
You can’t perform that action at this time.