Skip to content

Instantly share code, notes, and snippets.

Julien Liabeuf julien731

Block or report user

Report or block julien731

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View s.json
{"precision":1,"prev_close":34.0,"data_values":[[1520276400000,32.0],[1520276460000,32.0],[1520276580000,32.0],[1520276820000,32.0],[1520276880000,32.0],[1520276940000,32.0],[1520277000000,32.0],[1520277060000,33.0],[1520277120000,33.0],[1520277300000,33.0],[1520278200000,33.0],[1520278560000,33.0],[1520278680000,32.0],[1520278740000,33.0],[1520279520000,32.0],[1520279760000,32.0],[1520279820000,33.0],[1520279940000,32.0],[1520280120000,33.0],[1520280960000,32.0],[1520281260000,32.0],[1520281320000,33.0],[1520281380000,32.0],[1520281920000,33.0],[1520281980000,32.0],[1520282220000,33.0],[1520282280000,33.0],[1520283300000,32.0],[1520283420000,32.0],[1520284080000,32.0],[1520284140000,33.0],[1520284380000,32.0],[1520284560000,32.0],[1520285340000,32.0],[1520288940000,33.0],[1520289060000,33.0],[1520289480000,32.0],[1520289540000,33.0],[1520289720000,32.0],[1520289900000,33.0],[1520290080000,33.0],[1520290440000,32.0],[1520291580000,32.0],[1520291640000,32.0],[1520291700000,32.0],[1520291880000,32.0],[152029200
@julien731
julien731 / choco-install.ps1
Last active Jun 4, 2019
Laptop Setup Script (Chocolatey)
View choco-install.ps1
ECHO Installing Apps
ECHO Configure Chocolatey
choco feature enable -n allowGlobalConfirmation
# System Apps
## Browsers
choco install googlechrome
choco install firefox
@julien731
julien731 / post-commit
Last active Mar 5, 2019
Post-commit script for BitBucket and Pivotal Tracker integration.
View post-commit
#!/bin/bash
## Set project address (pattern is user/project-name).
project='nimbl3/tankeboksen-web'
if [ -z "$PIVOTAL_TOKEN" ]; then
# Allows us to read user input below, assigns stdin to keyboard
# @see http://stackoverflow.com/a/10015707
exec < /dev/tty
View keybase.md

Keybase proof

I hereby claim:

  • I am julien731 on github.
  • I am julienliabeuf (https://keybase.io/julienliabeuf) on keybase.
  • I have a public key ASDs1NJf1sBaZwK-rB1C0mtZakgz6XQWRMXEyZXoUjfTqQo

To claim this, I am signing this object:

@julien731
julien731 / limit-concurrent-tickets.php
Last active Jul 25, 2016
Limit the number of concurrently open tickets in AS
View limit-concurrent-tickets.php
<?php
add_filter( 'wpas_before_submit_new_ticket_checks', 'wpas_limit_concurrently_open_tickets' );
/**
* Limit the Number of Concurrent Open Tickets
*
* @param bool|WP_Error $go Submission status
*
* @return bool|WP_Error
*/
function wpas_limit_concurrently_open_tickets( $go ) {
@julien731
julien731 / wpas-check.php
Last active Jul 25, 2016
Add extra verification to AS submission process
View wpas-check.php
<?php
add_filter( 'wpas_before_submit_new_ticket_checks', 'wpas_extra_submission_check' );
/**
* Add extra verifications to the ticket submission process
*
* @param bool|WP_Error $go The submission authorization status
* @return bool|WP_Error
*/
function wpas_extra_submission_check( $go ) {
@julien731
julien731 / install.sh
Last active Aug 11, 2016
Ubuntu Config
View install.sh
# Initial system update
sudo apt-get update && sudo apt-get upgrade
# Install system utilities
## TLP
sudo apt-get install tlp tlp-rdw
sudo tlp start
## Sublime Text 2
View as-product-required.php
add_filter( 'wpas_get_custom_fields', 'wpas_make_product_required' );
/**
* Make the products field required
*
* @param array $custom_fields Registered custom fields
*
* @return array
*/
function wpas_make_product_required( $custom_fields ) {
@julien731
julien731 / awesome-support-custom-fields.php
Last active Mar 22, 2019
Awesome Support Custom Fields Starter Kit
View awesome-support-custom-fields.php
<?php
/**
* @package Awesome Support/Custom Fields
* @author ThemeAvenue <web@themeavenue.net>
* @license GPL-2.0+
* @link http://themeavenue.net
* @copyright 2014 ThemeAvenue
*
* @wordpress-plugin
* Plugin Name: Awesome Support: My Custom Fields
@julien731
julien731 / class-salesforce.php
Last active Jan 14, 2018
class-salesforce.php
View class-salesforce.php
<?php
/**
* Salesforce Web-To-Lead cURL PHP Wrapper.
*
* This class is a helper for Salesforce web-to-lead
* feature.
*
* @package Salesforce_WTL
* @version 0.1.1
* @author Julien Liabeuf <web@n2clic.com>
You can’t perform that action at this time.