This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Tic-Tac-Toe Console Application | |
@author 'zenius lama' | |
@Version 3.5.3 | |
@Since 2020-06-06 | |
''' | |
from random import randrange | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<add name="YourConnectionString" connectionString="Data Source=YourDBServerAddress;Initial Catalog=DatabaseName;Persist Security Info=True;User ID=YourUserID;Password=YourPassword" | |
providerName="System.Data.SqlClient" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// switch to root | |
// create the file as below | |
nano /etc/apt/sources.list.d/pgdg.list | |
// save the link in above file: | |
deb http://apt.postgresql.org/pub/repos/apt/ your_debian_version-pgdg main | |
// import the repository signing key | |
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; | |
import { AppModule } from './app/app.module'; | |
platformBrowserDynamic().bootstrapModule(AppModule) | |
.then(success => console.log(`Bootstrap success`)) | |
.catch(err => console.error(err)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Button(props) { | |
function handleClick() { | |
props.incrementCount(props.incrementBy); | |
} | |
return <button onClick={handleClick}>+{props.incrementBy}</button> | |
} | |
function Display(props) { | |
return <div>{props.count}</div> | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://jex.im/regulex |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git remote add origin https://github.com/user/repo.git | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
linux based | |
- travis | |
windows and linux based | |
- appveyor | |
other options | |
- jenkins | |
- circlci | |
- semaphore |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
karma, testem - for browser | |
PhantomJS - headless browser | |
JSDOM - in-memory DOM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JSDOM | |
cheerio |