Skip to content

Instantly share code, notes, and snippets.

@Alcotana
Alcotana / nodejs_here.reg
Last active July 2, 2023 07:15
Open directory with "Node.js command prompt" using right-click menu command "Node.js here"
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\directory\background\shell\nodejs]
"Icon"="cmd.exe"
@="&Node.js here"
[HKEY_CLASSES_ROOT\directory\background\shell\nodejs\command]
@="cmd.exe /s /k pushd \"%V\" & nodevars.bat"
[HKEY_CLASSES_ROOT\directory\shell\nodejs]
@FlavaSava7
FlavaSava7 / countries_nationalities_arabic_english.sql
Last active April 9, 2024 14:57
SQL Countries & Nationalities List : English and Arabic
CREATE TABLE `countries` (
`country_code` varchar(2) NOT NULL default '',
`country_enName` varchar(100) NOT NULL default '',
`country_arName` varchar(100) NOT NULL default '',
`country_enNationality` varchar(100) NOT NULL default '',
`country_arNationality` varchar(100) NOT NULL default '',
PRIMARY KEY (`country_code`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Dumping data for table `countries`
@nrobinaubertin
nrobinaubertin / app.component.ts
Created January 17, 2017 13:36
Exemple of ngb-date-parser-formatter implementation (ng-bootstrap)
import { NgbDatepickerConfig, NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap';
import { NgbDateFRParserFormatter } from "./ngb-date-fr-parser-formatter"
@Component({
providers: [{provide: NgbDateParserFormatter, useClass: NgbDateFRParserFormatter}]
})
export class AppComponent {}