Skip to content

Instantly share code, notes, and snippets.

View techiediaries's full-sized avatar

Techiediaries techiediaries

View GitHub Profile
@techiediaries
techiediaries / install-and-use-ionic2-framework.md
Last active September 21, 2016 15:46
Installing and working with the Ionic 2 framework for building cross platform mobile apps with HTML,CSS and JavaScript(Angular 2)

Ionic is a hybrid mobile framework for building mobile apps using web technologies instead of native languages such as Java for Android and Swift for iOS.If you can build a static web app using JavaScript,HTML and CSS then you can build mobile apps too thanks to hybrid mobile frameworks such as Ionic .

Ionic uses Apache Cordova for accessing native device features ,uses SASS for styling and Angular.js.The most recent version of Ionic is Ionic 2 which's a completly rewritten framework that uses TypeScript instead of just plain JavaScript and uses Angular 2 instead of Angular.js.

@techiediaries
techiediaries / download-and-install-latest-version-of-youtube-dl.md
Last active August 21, 2019 06:55
Installing the latest version of youtube-dl

Installing the latest version of youtube-dl

If you are getting this error when downloading a whole youtube playlist

youtube-dl ERROR: Unable to extract title

Then you need to install the latest version of youtube-dl.

To install the latest version of youtube-dl you can use the PPA webUpd8: ppa:nilarimogard/webupd8 which contains the latest version of youtube-dl.

@techiediaries
techiediaries / install-audio-recorder-in-ubuntu-15-16.md
Last active October 2, 2016 01:27
Installing audio recorder in ubuntu 15 and 16

How to install Audio Recorder in Ubuntu 16.04, 15.10

So go ahead and start your terminal and add this ppa ppa:audio-recorder/ppa

	sudo add-apt-repository ppa:audio-recorder/ppa

After tyoing your sudo password type ENTER when asked and then update with

sudo apt-get update

@techiediaries
techiediaries / meta-tags.md
Created November 30, 2016 08:03 — forked from whitingx/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>
@techiediaries
techiediaries / unhandled-rejection-typeerror-illegal-invocation-at-sequelize-log.md
Created December 27, 2016 15:56
How to solve Unhandled rejection TypeError: Illegal invocation at Sequelize.log

How to solve Unhandled rejection TypeError: Illegal invocation at Sequelize.log

1-method one

Use Sequelize 3.20.0

npm uninstall sequelize --save npm install sequelize@3.20.0 --save

2-method 2

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Jasmine Spec Runner v3.2.1</title>
<link rel="shortcut icon" type="image/png" href="lib/jasmine-3.2.1/jasmine_favicon.png">
<link rel="stylesheet" href="lib/jasmine-3.2.1/jasmine.css">
<script src="lib/jasmine-3.2.1/jasmine.js"></script>
var Jasmine = require('jasmine');
var jasmine = new Jasmine();
jasmine.loadConfigFile('spec/support/jasmine.json');
jasmine.execute();
var Jasmine = require('jasmine');
var jasmine = new Jasmine();
jasmine.loadConfigFile('spec/support/jasmine.json');
jasmine.execute();
{
"spec_dir": "spec",
"spec_files": [
"**/*[sS]pec.js"
],
"helpers": [
"helpers/**/*.js"
],
"stopSpecOnExpectationFailure": false,
"random": true
{
"name": "jasmine-project",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",