Skip to content

Instantly share code, notes, and snippets.

@iyhammad
iyhammad / mycontroller.ts
Created January 24, 2016 20:02
Sample Angular TypeScript Controller that use ABP generated defenitions
module app.views.employee.basicInformation {
export class add {
private employee: any;
private addEntry: () => void;
private isValidBusinessData: boolean;
private directorates: Array<any>
private departments: Array<any>;
private units: Array<any>;
private locations: Array<any>;
@jessejiang0214
jessejiang0214 / RoundBorderDatePicker.cs
Last active October 8, 2022 09:42
This is the Xamarin Forms date picker extension. It can set border width, color and radius, also it can add PlaceHolder and MinimumAge
using System;
using Xamarin.Forms;
namespace MyApp
{
public interface ICanBeValidated
{
Action<bool> ValidateChange { get; set; }
bool IsValidated { get; set; }
@eliotsykes
eliotsykes / cloud9-postgresql-rails-howto.md
Last active December 20, 2021 13:28
How to setup PostgreSQL & Rails on Cloud9

How to setup PostgreSQL & Rails on Cloud9

At time of writing, Cloud9 has PostgreSQL pre-installed, so you won't need to install it yourself. However, its not running by default, so you will need to start it with this command in the terminal:

sudo service postgresql start

Change the PostgreSQL password to 'password' (or choose a different password):

@sagivo
sagivo / gist:3a4b2f2c7ac6e1b5267c2f1f59ac6c6b
Last active May 11, 2026 18:44
webRTC stun / turn server list
to check if the server works - https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice
stun:
stun.l.google.com:19302,
stun1.l.google.com:19302,
stun2.l.google.com:19302,
stun3.l.google.com:19302,
stun4.l.google.com:19302,
stun.ekiga.net,
stun.ideasip.com,