Skip to content

Instantly share code, notes, and snippets.

View Djelnar's full-sized avatar
🐈‍⬛

Djelnar

🐈‍⬛
View GitHub Profile
#include <iostream>
#include <ctime>
#include <cstdlib>
using namespace std;
int main() {
int arrSize;
cout << "Введите количество элементов массива: ";
cin >> arrSize;
class _DiamondBorder extends ShapeBorder {
const _DiamondBorder();
@override
EdgeInsetsGeometry get dimensions {
return const EdgeInsets.only();
}
@override
Path getInnerPath(Rect rect, { TextDirection textDirection }) {

Disable Device Enrollment Notification on Mac.md

Restart the Mac in Recovery Mode by holding Comment-R during restart

Open Terminal in the recovery screen and type

csrutil disable
@Djelnar
Djelnar / reset.md
Created August 16, 2019 08:03 — forked from hitautodestruct/reset.md
Reset root password on scaleway.com
<a href="https://gist.github.com/sghiassy/a3927405cf4ffe81242f4ecb01c382ac">lol</a>
@Djelnar
Djelnar / setup.sh
Last active February 5, 2022 01:02
#!/usr/bin/env bash
apt update
apt upgrade -y
apt install apt-transport-https wget curl -y
# # Chrome keys
# wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
# sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
@Djelnar
Djelnar / telegram-installer.sh
Created October 29, 2018 01:01 — forked from kobylyanets/telegram-installer.sh
telegram-installer.sh
#!/bin/bash
echo "============================================="
echo "== Telegram Script Installer =="
echo "== =="
echo "== for www.LinuxRussia.com =="
echo "============================================="
echo "Downloading necesary files..."
cd /tmp
@Djelnar
Djelnar / History|-1084c0ea|entries.json
Last active May 15, 2022 16:50
Visual Studio Code Settings Sync Gist
{"version":1,"resource":"file:///Users/elnaribragimov/bistox/ocelot/packages/kit/src/icons/src/Google2.svg","entries":[{"id":"6K96.svg","timestamp":1651662213923}]}
import React from 'react';
const AAA = ({ remaining }) => (
<>
<div id="app">
<div className="h-card col-3 float-left pr-3" itemScope itemType="http://schema.org/Person">
<div className="user-profile-sticky-bar js-user-profile-sticky-bar">
<div className="user-profile-mini-vcard d-table">
<div id="app">
<div class="h-card col-3 float-left pr-3" itemscope itemtype="http://schema.org/Person">
<div class="user-profile-sticky-bar js-user-profile-sticky-bar">
<div class="user-profile-mini-vcard d-table">
<span class="user-profile-mini-avatar d-table-cell v-align-middle lh-condensed-ultra pr-2">
<img class="rounded-1" height="32" width="32" alt="@Fl0pZz" src="https://avatars1.githubusercontent.com/u/9510124?s=88&amp;v=4" />
</span>
<span class="d-table-cell v-align-middle lh-condensed js-user-profile-following-mini-toggle">
<strong>Fl0pZz</strong>