This file contains 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
" Don't try to be vi compatible | |
set nocompatible | |
" Helps force plugins to load correctly when it is turned back on below | |
filetype off | |
" TODO: Load plugins here (pathogen or vundle) | |
" Turn on syntax highlighting | |
syntax on |
This file contains 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
/** | |
* Created by awave on 2016-07-27. | |
*/ | |
public class BitmapWorkers { | |
public static class BitmapWorkerFile extends AsyncTask<String, Void, Bitmap> { | |
private WeakReference<ImageView> imageViewReference = null; | |
private Activity mActivity; |
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:card_view="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:id="@+id/card_object" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content"> |
This file contains 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
'use strict'; | |
// simple express server | |
var express = require('express'); | |
var app = express(); | |
var router = express.Router(); | |
app.use(express.static('public')); | |
app.get('/', function(req, res) { | |
res.sendfile('./public/index.html'); |
This file contains 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
while true; do /c/MinGW/msys/1.0/bin/rsync.exe -avhr --filter=':- .gitignore' --exclude='.git' certainteed-remote/ certainteed; done |
This file contains 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
/* | |
Name: Artem Golovin | |
Email: agolo124@mtroyal.ca | |
Course: COMP 2655-001 | |
Instructor: ppospisil | |
Assignment: 3 | |
Due Date: October, 6th | |
Source: first.c | |
*/ | |
#include <stdio.h> |
This file contains 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
; ======================================================================== | |
; Name: Artem Golovin | |
; Email: agolo124@mtroyal.ca | |
; Course: COMP2655-001 | |
; Due Date: November 5th | |
; Assignment: 4 | |
; Instructor: ppospisil | |
; Source: A4.S | |
; Purpose: To gain experience with branching and to implement | |
; "snaking" column representation for sorted data |
This file contains 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
; ======================================================================== | |
; Name: Artem Golovin | |
; Email: agolo124@mtroyal.ca | |
; Course: COMP2655-001 | |
; Due Date: November 5th | |
; Assignment: 4 | |
; Instructor: ppospisil | |
; Source: A4.S | |
; Purpose: To gain experience with branching and to implement | |
; "snaking" column representation for sorted data |
This file contains 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
#include<stdio.h> | |
#define SIZE 12 | |
int main() { | |
int arr[SIZE] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; | |
int size = SIZE; | |
int i = 0; |
This file contains 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
#!/bin/bash | |
js_files=$(git diff --name-only | grep "\.js\?$") | |
eslint="" | |
check_failed=0 | |
for file in $js_files; do | |
if [[ $file == app* ]]; then | |
eslint="./app/node_modules/eslint/bin/eslint.js" | |
else |
OlderNewer