Skip to content

Instantly share code, notes, and snippets.

Avatar

Yannick De Jonghe yadejo

  • Realdolmen
  • Waasmunster (Belgium)
View GitHub Profile
@yadejo
yadejo / remove_node_modules_recursively.ps1
Created Jun 17, 2019 — forked from SynCap/remove_node_modules_recursively.ps1
Remove `node_modules` folders in Windows in all subfolders recursively with PowerShell to avoid exceeding path max_length
View remove_node_modules_recursively.ps1
<#
Note: Eliminate `-WhatIf` parameter to get action be actually done
Note: PS with version prior to 4.0 can't delete non-empty folders
#>
Get-ChildItem -Path "." -Include "node_modules" -Recurse -File:$false | Remove-Item -Recurse -Force -WhatIf
View gist:94a2a40abd460fb0649c20eb94193c99
[
{
"code": "Morocco Standard Time",
"description": "(GMT) Casablanca"
},
{
"code": "GMT Standard Time",
"description": "(GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London"
},
{
View gist:454c4bd196d56bded35f3a5c09bbf76f
angular.module('starter.services', [])
.factory('Issues', function($http) {
var baseUrl = "http://localhost:8080/problems/";
// Might use a resource here that returns a JSON array
// Some fake testing data
var issues = [{
id: 0,