Skip to content

Instantly share code, notes, and snippets.

Andres Moschini andresmoschini

  • Making Sense
  • Mar del Plata
View GitHub Profile
@andresmoschini
andresmoschini / radios_nacionales.txt
Created Aug 20, 2019 — forked from pisculichi/radios_nacionales.txt
URLs de radios nacionales de Argentina, para poder escuchar en la terminal con mplayer o vlc
View radios_nacionales.txt
# alias radio='function __radio(){ r=`grep -v "#" radios_nacionales.txt | grep -m 1 -i $1 | cut -d" " -f1`; cvlc $r 2> /dev/null; }; __radio'
# podria utilizarse mplayer en vez de vlc
AMs Nacionales
http://66.70.255.8:9436/baires?type=.mp3 Radio Madre 530
http://www.servidorstreaming1.com:9962/; Radio Colonia 550
http://195.154.182.222:25223/live.mp3 Radio Argentina 570
http://playerservices.streamtheworld.com/api/livestream-redirect/CONTINENTAL_SC Continental 590
http://209.95.35.49:7012/stream Rivadavia 630
View branches_n_merges.md

Before merge


*      A2
|  
|  *   B2
|  |  
|  *   B1
|  |
View testuniques.cs
/*
EXAMPLE EXECUTION
testname: GetNeverPonyNumber
uniques: 50000000
collisions: 0
examples: 8702a199572565e1, 84a4a866d8222e3f, 7de9de6bc852e14d
elapsed: 00:03:47.0953452
View EmailUrlObfuscation.cs
using System;
using System.Text;
using System.Linq;
public static class EmailUrlObfuscation
{
private static string AtSymbolEncode(this string email) => email
.Replace("]", "-]")
.Replace("@", "[a]");
@andresmoschini
andresmoschini / client.cs
Created Jun 23, 2017
Test Async/Await benefits
View client.cs
using System;
using System.Diagnostics;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
namespace Client
{
class Program
{
View P4Merge and Git Extensions.md
  1. Download and install p4Merge (Helix P4Merge: Visual Merge Tool) from Perforce page
  2. Configure Git Extensions (Tools / Settings / Git Config) with the follow values (see image):
    • Mergetool: p4merge
    • Path to mergetool: C:/Program Files/Perforce/p4merge.exe
    • Mergetool command: "C:/Program Files/Perforce/p4merge.exe" "$BASE" "$LOCAL" "$REMOTE" "$MERGED"
    • Difftool: p4merge
    • Path to difftool: C:/Program Files/Perforce/p4merge.exe
    • Difftool command: "C:/Program Files/Perforce/p4merge.exe" "$LOCAL" "$REMOTE"
View validation-errors.js
(function () {
'use strict';
angular
.module('dopplerRelay')
.directive('validationErrors', validationErrors);
validationErrors.$inject = [
"$compile"
];
@andresmoschini
andresmoschini / TemplateCtrl.js
Last active Feb 18, 2016
Plantillas para controllers y services en Relay
View TemplateCtrl.js
(function () {
'use strict';
angular
.module('dopplerRelay')
.controller('TemplateCtrl', TemplateCtrl);
TemplateCtrl.$inject = [
'$scope',
'templates',
View campaign-social-preferences.json
{
"$schema": "http://json-schema.org/draft-04/schema",
"id": "campaign-social-preferences.json",
"type": "object",
"properties": {
"shareButtons": {
"type": [ "array", "null" ],
"items": {
"type": "string",
"enum": [
You can’t perform that action at this time.