Skip to content

Instantly share code, notes, and snippets.

Hilmi BOUALLEGUE HilmiDEV

Block or report user

Report or block HilmiDEV

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
@HilmiDEV
HilmiDEV / gist:b29abbdc6b1bfd63d50c170de9970e76
Created Aug 3, 2018 — forked from theplatapi/gist:0a7d789afc8028a3c20b
Draw a rectangle in Cesium with shift-click-drag
View gist:b29abbdc6b1bfd63d50c170de9970e76
var viewer = new Cesium.Viewer('cesiumContainer', {
targetFrameRate: 60,
homeButton: false,
sceneModePicker: false,
navigationHelpButton: false,
baseLayerPicker: false,
clock: new Cesium.Clock({
startTime: Cesium.JulianDate.fromIso8601('1880-01-01'),
currentTime: Cesium.JulianDate.fromIso8601('1880-01-01'),
stopTime: Cesium.JulianDate.fromIso8601("2013-12-01"),
@HilmiDEV
HilmiDEV / setenv.sh
Created Nov 15, 2016 — forked from terrancesnyder/setenv.sh
./setenv.sh - example setenv.sh with defaults set for minimal time spent in garbage collection
View setenv.sh
#! /bin/sh
# ==================================================================
# ______ __ _____
# /_ __/___ ____ ___ _________ _/ /_ /__ /
# / / / __ \/ __ `__ \/ ___/ __ `/ __/ / /
# / / / /_/ / / / / / / /__/ /_/ / /_ / /
#/_/ \____/_/ /_/ /_/\___/\__,_/\__/ /_/
# Multi-instance Apache Tomcat installation with a focus
# on best-practices as defined by Apache, SpringSource, and MuleSoft
@HilmiDEV
HilmiDEV / angular2-starter.md
Created Jul 1, 2016 — forked from mirkonasato/angular2-starter.md
Angular 2 with Webpack Project Setup - Code Snippets
View angular2-starter.md

Angular 2 Starter

This file contains code snippets to be used while following the Angular 2 with Webpack Project Setup video tutorial.

index.html

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf­8">
@HilmiDEV
HilmiDEV / introrx.md
Created May 12, 2016 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
View introrx.md
View sass_and_less_compared.markdown

Sass/Less Comparison

In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.

For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.

Variables

View LocalSettings.php
/*
Making Mediawiki SpecialPages only viewable by admin.
Copy and paste this to end of LocalSettings.php
*/
function disableSomeSpecialPages(&$list) {
global $wgUser;
if(!$wgUser->isAllowed('editinterface')) {
//remove some
#unset($list['Version']);
You can’t perform that action at this time.