Skip to content

Instantly share code, notes, and snippets.

@Berkays
Berkays / main.ipynb
Created February 28, 2023 01:23
Find corner points of rectangle with 1s border
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Berkays
Berkays / platform.py
Created August 13, 2022 13:45
PlatformIO fixed bug
# Copyright 2014-present PlatformIO <contact@platformio.org>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
@Berkays
Berkays / App.tsx
Created January 27, 2022 19:42
Webpack/Typescript/React Starter Template
// PLACE INSIDE /src folder
export function App() {}
@Berkays
Berkays / fresh-1.sh
Last active October 29, 2020 02:25
Ubuntu-Setup
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
else
echo "Updating packages"
sudo apt-get update && sudo apt-get upgrade -y
echo "Removing bloatware..."