Skip to content

Instantly share code, notes, and snippets.

# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@yerooleopard
yerooleopard / font_awesome_5.php
Last active July 23, 2021 23:28
WPBakery Page Builder for WordPress (formerly Visual Composer) - Font Awesome 5 iconpicker integration
<?php
add_filter( 'vc_iconpicker-type-fontawesomenew', 'omnis_vc_iconpicker_type_fontawesome_5' );
function omnis_vc_iconpicker_type_fontawesome_5( $icons ) {
$font_awesome_5 = array(
'Brands' => array(
array('fab fa-500px' => '500px'),
array('fab fa-accessible-icon' => 'accessible-icon'),
array('fab fa-accusoft' => 'accusoft'),
array('fab fa-adn' => 'adn'),
@yerooleopard
yerooleopard / 6Man.js
Last active June 2, 2018 16:45
Headless 6Man Strong Host: https://html5.haxball.com/headless. Installation Instruction: https://youtu.be/9u9FEB8Jimc?t=1m51s
/*
* Host Configuration
*/
var ROOM_NAME = "6MAN STRONG 2.0";
var HOST_NAME = "[HOST]";
var MAX_PLAYERS = 12;
var ROOM_PUBLIC = true;
var HOST_GEO = {"code": "PL", "lat" : 52, "lon" : 21};