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> | |
int N, M[10][10]; | |
int min(int a,int b) | |
{ | |
if(a<b) | |
return a; | |
else | |
return b; | |
} |
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
#define m11 12 // rear motor | |
#define m12 11 | |
#define m21 10 // front motor | |
#define m22 8 | |
#include <Servo.h> | |
Servo test; // create servo object to control a servo GUN | |
Servo myservo2; // create servo object to control a servo TRIG |
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 numpy as np | |
import pandas as pd | |
import sys | |
import json | |
import time | |
from telnetlib import Telnet | |
# Initializing the arrays required to store the data. | |
attention_values = np.array([]) | |
meditation_values = np.array([]) |
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
%clear everything before loading | |
clc; | |
clear ALL; | |
pause on; | |
%loading dll library, header file and other libraries | |
%(libfunctionsview thinkgear to view dll) | |
if ~libisloaded('Thinkgear') | |
loadlibrary('Thinkgear.dll'); | |
else | |
unloadlibrary Thinkgear |
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 System.IO; | |
using System.Net.Sockets; | |
using Jayrock.Json.Conversion; | |
using System; | |
using System.Text; | |
using System.Collections; | |
namespace ConsoleApp1 | |
{ | |
class Program |
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
# credits R Bloggers | |
# STEP 1 - Add libraries | |
library(geniusR) | |
library(tidytext) | |
library(tidyverse) | |
# STEP 2 - Downloading lyrics of artist |
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 | |
echo "Updating system..." | |
sudo apt update | |
echo "Installing dependencies..." | |
sudo apt install -y apt-transport-https ca-certificates curl software-properties-common | |
echo "Downloading data..." | |
sudo apt install -y curl |
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
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
<template> | |
<div> | |
<input | |
type="text" | |
placeholder="Search Your Interest" | |
@input="debounceSearch()" | |
v-model="searchInput" | |
/> | |
</div> | |
</template> |
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
... | |
this.extendRoutes((routes, resolve) => { | |
const routePaths = Object.assign({ | |
admin: resolve(__dirname, './templates/pages/index.vue') | |
}) | |
routes.push({ | |
name: 'route_name', | |
path: '/' + 'route_name', | |
component: routePaths.admin | |
}) |
OlderNewer