Skip to content

Instantly share code, notes, and snippets.

View Anna-Myzukina's full-sized avatar
💭
if you NEVER try } YOU`LL never KNOW

Anna Muzykina Anna-Myzukina

💭
if you NEVER try } YOU`LL never KNOW
View GitHub Profile
/*----------------------------------------------------------------------------------------
COMMON STYLES
-----------------------------------------------------------------------------------------*/
body {
font-family: sans-serif;
font-weight: normal;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
@Anna-Myzukina
Anna-Myzukina / style.css
Created August 20, 2018 11:52
styles vs
/*----------------------------------------------------------------------------------------
COMMON STYLES
-----------------------------------------------------------------------------------------*/
body {
font-family: sans-serif;
font-weight: normal;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
@Anna-Myzukina
Anna-Myzukina / 1-introduction.js
Last active September 23, 2018 15:55
javascripting
//Exercise 1
/*To keep things organized, let's create a folder for this workshop.
Run this command to make a directory called javascripting (or something
else if you like):
mkdir javascripting
Change directory into the javascripting folder:
cd javascripting
Create a file named introduction.js:
touch introduction.js
Or if you're on Windows:
@Anna-Myzukina
Anna-Myzukina / 1-helloWorld.js
Last active September 23, 2018 21:39
learnyounode
//Exercise 1
console.log('HELLO WORLD');
@Anna-Myzukina
Anna-Myzukina / app.js
Last active August 27, 2018 06:34
elementary-electron
var electron = require('electron')
electron.app.on('ready', function () {
var mainWindow = new electron.BrowserWindow({width: 600, height: 800})
mainWindow.loadURL('file://' + __dirname + '/index.html')
})
<?php
/**
* Plugin Name: To add post type
* Plugin URI: http://#
* Description: This is custom plugin to add taxonomy po post type.
* Author: Muzykina Ann
* Author URI: http://#
* Version: 0.1.0
*/
function create_taxonomy_to_cars() {
@Anna-Myzukina
Anna-Myzukina / accordion-widget.php
Created August 22, 2018 08:12
accordion-widget
<?php
/**
* Plugin Name: Accordion widget
* Description: Accordion widget
* Plugin URL: http://#
* Author: Musykuna Ann
* Author http://#
* Version: 1.0
*/
/**
<?php
/**
* Plugin Name: Add taxonomy post type
* Description: Easy add new taxonomy to your post type
* Plugin URL: http://#
* Author: Musykuna Ann
* Author http://#
* Version: 1.0
*/
function create_taxonomy_to_cars() {
@Anna-Myzukina
Anna-Myzukina / scope.js
Last active August 23, 2018 20:41
node => my education
console.log("a: "+a+", b: "+b+", c: "+c);//a: 1, b: 5, c: 6
//Exercise 1
/*Scopes
The main type of scope in Javascript is Lexical Scoping. Present in the language
from the very beginning, this is the scope created within a function, and the
one most developers are familiar with.[1]
ES6 recently defined Block Scoping. This scope is created within curly braced
blocks.[2]