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
// Bind | |
bind "f1" "buy m4a1; buy ak47" | |
bind "f2" "buy famas; buy galilar" | |
bind "f3" "buy mac10; buy mp9" | |
bind "f4" "buy awp" | |
bind "f5" "buy hegrenade" | |
bind "f6" "buy flashbang" | |
bind "f7" "buy smokegrenade" | |
bind "f8" "buy incgrenade; buy molotov" | |
bind "f10" "buy vest" |
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
'use strict'; | |
const gulp = require('gulp'); | |
const sass = require('gulp-sass'); | |
const sourcemaps = require('gulp-sourcemaps'); | |
const autoprefixer = require('gulp-autoprefixer'); | |
const browserSync = require('browser-sync').create(); | |
gulp.task('sass', function () { | |
return gulp.src('web/app/themes/**/css/*.scss', { base: './' }) |
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
@echo off | |
set /p Y=Enter adb path: | |
cd /d %Y% | |
adb devices | |
pause | |
adb shell pm uninstall --user 0 com.android.chrome | |
adb shell pm uninstall --user 0 com.google.android.apps.tachyon | |
adb shell pm uninstall --user 0 com.google.android.music | |
adb shell pm uninstall --user 0 com.google.android.talk | |
adb shell pm uninstall --user 0 com.google.android.videos |
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 | |
PLUGINS="$@" | |
for PLUGIN in $PLUGINS; do | |
wp plugin install $PLUGIN --activate | |
done |
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 | |
define('SP_REQUEST_URL', ($_SERVER['HTTPS'] ? 'https://' : 'http://') . $_SERVER['HTTP_HOST']); | |
define('WP_SITEURL', SP_REQUEST_URL); | |
define('WP_HOME', SP_REQUEST_URL); |
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 | |
function add_admin_acct(){ | |
$login = 'utilisateur'; | |
$passw = 'motdepasse'; | |
$email = '[email protected]'; | |
if ( !username_exists( $login ) && !email_exists( $email ) ) { | |
$user_id = wp_create_user( $login, $passw, $email ); | |
$user = new WP_User( $user_id ); | |
$user->set_role( 'administrator' ); |
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 | |
/* | |
Plugin Name: Add Favicon | |
Description: Add Favicon | |
Author: Romain Etchegoyhen | |
*/ | |
add_action('wp_head', 'add_favicon'); | |
function add_favicon() { | |
$icon_url = get_template_directory_uri() . '/images/favicon.ico'; |