This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class UrlController extends BaseController { | |
/** | |
* Display a listing of the resource. | |
* | |
* @return Response | |
*/ | |
public function index() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Github gist support | |
Y/N ? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 = "recv_coins", | |
1 = "levelup", | |
2 = "quoted", | |
3 = "mentioned", | |
4 = "newthread", | |
5 = "accepted", | |
6 = "newreply", | |
7 = "bannedcheat", | |
8 = "rating", | |
9 = "generic" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
background: repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 10px, rgba(0, 0, 0, 0.1) 10px, rgba(0, 0, 0, 0.1) 20px); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Place this file inside the "/server" folder in the root project | |
*/ | |
const express = require('express') | |
const consola = require('consola') | |
const { Nuxt, Builder } = require('nuxt') | |
const app = express() | |
// Import and Set Nuxt.js options | |
const config = require('../nuxt.config.js') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This FreePie script is for using Midi Drums with Clone Hero | |
# Install vJoy. | |
# Install FreePIE. | |
# Connect midi drums | |
# Copy/paste or open this code in/into FreePIE. Save it as a script, then press run. If it all works, you should be able to monitor the joystick outuput with vJoy's monitor program. | |
# Please note: These midi notes are setup for the Alesis Crimsom 2 Mesh kit, and notes may vary from drum module to module | |
# feel free to change the input midi nodes on the lists | |
# You can setup multiple midi notes to a single joystick buttons. Like have the hihat and tom 1 map to the yellow drum |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Disable XHC in wakeup | |
[Service] | |
ExecStart=/bin/bash -c "echo XHC >> /proc/acpi/wakeup" | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
sudoUser=$SUDO_USER | |
compilationPath="/home/$sudoUser/StuffToBeCompiled" | |
echo "Installing compiling tools" | |
apt install -y clang git cmake python3-sphinx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat ~/.config/sxhkd/sxhkdrc | awk '/^[a-z]/ && last {print $0,"\t",last} {last=""} /^#/{last=$0}' | column -t -s $'\t' | rofi -dmenu -i -no-show-icons -width 1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[oracle-codeready] | |
name=Oracle Codeready | |
#baseurl=https://download.fedoraproject.org/pub/epel/$releasever/Everything/$basearch | |
#metalink=http://yum.oracle.com/repo/OracleLinux/OL8/codeready/builder/x86_64 | |
baseurl=http://yum.oracle.com/repo/OracleLinux/OL8/codeready/builder/x86_64 | |
enabled=1 | |
gpgcheck=0 |
OlderNewer