Skip to content

Instantly share code, notes, and snippets.

View iosifnicolae2's full-sized avatar

Iosif Nicolae iosifnicolae2

View GitHub Profile
#include <iostream>
#include "http://google.ro/gr1.h"
using namespace std;
int main()
{int x;
cin>>x;
cout << x+1 << endl;
return 0;
{
"view_type":"multiple-slideshow",
"view_name":"Multiple slideshow",
"byLocation":true,
"slideshows":[
{
"id":1,
"cameras":[
{
"id":1,
@iosifnicolae2
iosifnicolae2 / gist:2751f1db0969245d6ef937c45cecb1c1
Created February 14, 2018 15:46
How can you paste multiple line content to a single cell in excel?
## How can you paste multiple line content to a single cell in excel?
- save Word file as `txt` document:
```
Example
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Components:
- Component 1
- Component 2
- Component 3
@iosifnicolae2
iosifnicolae2 / gist:54b2b852854428e536d9fba9d646b4ea
Created February 14, 2018 15:47
How can you paste multiple line content to a single cell in excel?
Please read the above comment.
@iosifnicolae2
iosifnicolae2 / gist:ed3e873384f609e3c07d6efa31f5eb40
Last active April 2, 2024 18:07
Automatic MacOS installation
#!/usr/bin/env bash
#
# Bootstrap script for setting up a new OSX machine
#
# This should be idempotent so it can be run multiple times.
#
# Some apps don't have a cask and so still need to be installed by hand. These
# include:
#
# - Twitter (app store)
@iosifnicolae2
iosifnicolae2 / gist:02c86545d9c3948385447440fc96885b
Created March 4, 2019 20:18
Weeks of the year [project management labels]
Week 1 (31/12 - 06/01)
Week 2 (07/01 - 13/01)
Week 3 (14/01 - 20/01)
Week 4 (21/01 - 27/01)
Week 5 (28/01 - 03/02)
Week 6 (04/02 - 10/02)
Week 7 (11/02 - 17/02)
Week 8 (18/02 - 24/02)
Week 9 (25/02 - 03/03)
Week 10 (04/03 - 10/03)
## Simple Vitamin week
12/31 - 01/06
01/07 - 01/13
01/14 - 01/20
01/21 - 01/27
01/28 - 02/03
02/04 - 02/10
02/11 - 02/17
02/18 - 02/24
02/25 - 03/03
#include <avr/interrupt.h>
//COMMON CATHODE
byte segment7code[] = {
0b00111111, // 0
0b00000110, // 1
0b01011011, // 2
0b01001111, // 3
#include <avr/interrupt.h>
//COMMON CATHODE
// define the way to activate 7 Segment leds
byte segment7code[] = {
0b00111111, // 0
0b00000110, // 1
0b01011011, // 2