Mix.install(
[
{:evision, "~> 0.1"},
{:kino, "~> 0.7"}
],
Discover gists
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
// Vu Thanh Duong | |
// Vector | |
// C++ | |
// Created on: 16/02/22 | |
#ifndef GUARD_VECTOR_H | |
#define GUARD_VECTOR_H | |
namespace dlb | |
{ |
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
// Vu Thanh Duong | |
// C++ | |
// Queue | |
// Created on: 17/10/22 | |
// QUEUE AND STACK DOESN'T HAVE ITERATROR | |
// QUEUE FOLLOWS FIFO PRINCIPLE, AND LIFO AS STACK | |
// NO JUMP IS ALLOWED | |
// ITERATOR ISN'T NECESSARY | |
// |
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
// CLASS FILE _ HASH_TABLE_CPP | |
#pragma once | |
#pragma region HASH_TABLE_CPP | |
#include <iostream> | |
#include "slist.h" | |
using namespace dlb; |
Filter | Description | Example |
---|---|---|
allintext | Searches for occurrences of all the keywords given. | allintext:"keyword" |
intext | Searches for the occurrences of keywords all at once or one at a time. | intext:"keyword" |
inurl | Searches for a URL matching one of the keywords. | inurl:"keyword" |
allinurl | Searches for a URL matching all the keywords in the query. | allinurl:"keyword" |
intitle | Searches for occurrences of keywords in title all or one. | intitle:"keyword" |
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
import pygame | |
import random | |
import math | |
class Gui(): | |
''' | |
Class for the gui of the application | |
''' | |
This gist is deprecated. You can find the latest instructions here.
Japanese locale should be enabled by default on Mac.
You can check by running:
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
using NuGet.Common; | |
using NuGet.Configuration; | |
using NuGet.Credentials; | |
using NuGet.PackageManagement; | |
using NuGet.Packaging; | |
using NuGet.Packaging.Core; | |
using NuGet.Packaging.Signing; | |
using NuGet.ProjectManagement; | |
using NuGet.Protocol; | |
using NuGet.Protocol.Core.Types; |
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
/** | |
* Plural forms for russian words | |
* @param {Integer} count quantity for word | |
* @param {Array} words Array of words. Example: ['депутат', 'депутата', 'депутатов'], ['коментарий', 'коментария', 'комментариев'] | |
* @return {String} Count + plural form for word | |
*/ | |
function pluralize(count, words) { | |
var cases = [2, 0, 1, 1, 1, 2]; | |
return count + ' ' + words[ (count % 100 > 4 && count % 100 < 20) ? 2 : cases[ Math.min(count % 10, 5)] ]; | |
} |
NewerOlder