Skip to content

Instantly share code, notes, and snippets.

@kensleDev
kensleDev / Download.ps1
Last active April 25, 2024 10:02
Dev terminal setup for Powershell
$powershellDir = "~\.config\powershell"
New-Item -ItemType Directory -Force -Path $powershellDir
cd $powershellDir
Invoke-WebRequest -Uri 'https://gist.githubusercontent.com/kensleDev/13f9290876e782b2e67aab8b463e55f7/raw/66cdc60aa61da8a88a480c14b5fe817beba7dab9/profile.ps1' -OutFile 'profile.ps1'
Invoke-WebRequest -Uri 'https://gist.githubusercontent.com/kensleDev/13f9290876e782b2e67aab8b463e55f7/raw/cda7a409a315bf767f830897b0b8f53611e11f1e/Install.ps1' -OutFile 'Install.ps1'
Invoke-WebRequest -Uri 'https://gist.githubusercontent.com/kensleDev/13f9290876e782b2e67aab8b463e55f7/raw/13c1f7eb8ffa50e385c3b960c76ded9389bdaf3e/takuya.omp.json' -OutFile 'takuya.omp.json'
@Klerith
Klerith / flutter-instalaciones.md
Last active April 25, 2024 10:02
Instalaciones del curso de Flutter - Móvil de cero a experto
@asgaut
asgaut / Microsoft.PowerShell_profile.ps1
Last active April 25, 2024 10:02
My powershell startup script + Oh-my-posh config
# Chocolatey profile
$ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
if (Test-Path($ChocolateyProfile)) {
Import-Module "$ChocolateyProfile"
}
# Set Conda enviroment variables (same as done for Anaconda Powershell Prompt (Miniconda3))
$CondaHook = "$HOME\Miniconda3\shell\condabin\conda-hook.ps1"
if (Test-Path($CondaHook)) {
@tobyselway
tobyselway / laravel_setup.md
Last active April 25, 2024 10:01
Initial Setup for Laravel Projects

Initial Setup

1. Clone the repository

Find a location on your computer where you want to store the project. A directory made for projects is generally a good choice.

Launch a bash console there and clone the project.

git clone https://github.com/organization/project.git

2. cd into the project

<!DOCTYPE html>
<html>
<head>
<style>
#map {
height: 400px;
width: 100%;
}
#searchTextField {
@QNimbus
QNimbus / gitclean.sh
Created January 10, 2024 11:31
Git scripts & tools #git #scripts
#!/bin/bash
#
# By Zibri (2019)
# Modified by @rokibhasansagar
# Modified by @qnimbus
#
# Bash script to remove all revisions from github or gist repository.
#
# Usage: gitclean git-repo-url
#
@eneserdo
eneserdo / understanding_mha.ipynb
Last active April 25, 2024 09:55
Understanding torch.nn.MultiheadAttention
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@eladnava
eladnava / server.js
Created November 13, 2020 04:28
Get Facebook Ads Lead Notifications in Realtime with Node.js
const axios = require('axios');
const express = require('express');
const bodyParser = require('body-parser');
const app = express();
const port = 3000;
// Enter the Page Access Token from the previous step
const FACEBOOK_PAGE_ACCESS_TOKEN = '_______________________________';
@hugo-dc
hugo-dc / icons.abap
Created June 5, 2012 17:41
SAP ICON Codes
Icon_Length ID
Name Quickinfo
ICON_2 ICON_DUMMY '@00@'." PlaceholderIcon
ICON_2 ICON_CHECKED '@01@'." Checked; OK
ICON_2 ICON_INCOMPLETE '@02@'." Incomplete
ICON_2 ICON_FAILURE '@03@'." Failed
ICON_2 ICON_POSITIVE '@04@'." Positive
ICON_2 ICON_NEGATIVE '@05@'." Negative
ICON_2 ICON_LOCKED '@06@'." Locked
ICON_2 ICON_UNLOCKED '@07@'." Free; unlock

CLang optimizations on Mac OSX

Version:

Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.1.0
Thread model: posix

This was made with commands: