This file contains hidden or 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
GargulDB = { | |
["BoostedRolls"] = { | |
["Points"] = { | |
}, | |
["Aliases"] = { | |
}, | |
}, | |
["LoadDetails"] = { | |
["6.1.11"] = 1690562601, |
This file contains hidden or 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
```csharp | |
using System; | |
namespace Foo | |
{ | |
class Bar | |
{ | |
public static void Main () | |
{ | |
Console.WriteLine("Hello World!"); |
This file contains hidden or 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
# usage: create_client <username> <domain> | |
function create_client() { | |
# create user | |
sudo adduser $1 | |
# prevent ssh login & assign SFTP group | |
sudo usermod -g clients $1 | |
sudo usermod -s /bin/nologin $1 | |
# chroot user (so they only see their directory after login) |
This file contains hidden or 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/sh | |
if [ ! -d $1 ]; then | |
mkdir -p $1; | |
fi | |
cd $1 | |
git init | |
wget https://wordpress.org/latest.tar.gz | |
tar -xvzf ./latest.tar.gz | |
rm ./latest.tar.gz | |
mv ./wordpress ./html |
This file contains hidden or 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 | |
namespace App; | |
use Jenssegers\Mongodb\Eloquent\Model as Eloquent; | |
class Category extends Eloquent | |
{ | |
/** | |
* The database collection used by the model. |
This file contains hidden or 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 | |
/***************************************** | |
* @author: @ben_argo | |
* @created: 2011-07-17 | |
* @updated: 2012-01-20 | |
* @url: https://gist.github.com/1087632 | |
* @contact: http://benargo.com/contact | |
*****************************************/ |
This file contains hidden or 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
@font-face { | |
font-family: 'LeagueGothicRegular'; | |
src: url('lib/font/leaguegothic/League_Gothic-webfont.eot'); | |
src: url('lib/font/leaguegothic/League_Gothic-webfont.eot?#iefix') format('embedded-opentype'), | |
url('lib/font/leaguegothic/League_Gothic-webfont.woff') format('woff'), | |
url('lib/font/leaguegothic/League_Gothic-webfont.ttf') format('truetype'), | |
url('lib/font/leaguegothic/League_Gothic-webfont.svg#LeagueGothicRegular') format('svg'); | |
font-weight: normal; | |
font-style: normal; |