Skip to content

Instantly share code, notes, and snippets.

@matijagrcic
matijagrcic / Batch-convert-webp-to-png.txt
Created November 18, 2016 18:28
Batch convert webp to png
#Download dwebp (WebP decoder tool) https://developers.google.com/speed/webp/download
#Run
for %f in (*.webp) do dwebp.exe "%f" -o "%~nf.png"
Hey everyone, meet Kevin here. Everybody's going crazy for the Joe Rogan podcast with
Elon Musk. We're going to watch and react to it together. So let's get right into it.
There's just a drop. So here we go. Let's listen in.
Oh yeah. Got to start with the smoking. Of course it's the cars this time.
Have you seen that before? Did people get you?
No. He's awesome.
He's awesome. He's pretty edgy.
Dude, Elon looks like the hex coin guy. No, what are you doing?
Amazing that he puts out a piece of art per day. 365 days a year.
Yeah, I was following him on the X platform, FKA Twitter, but it was too jarring.
{
"total": 1867,
"pages": [{
"page": 1,
"videos": [{
"name": "NDC TechTown 2018",
"href": "https://vimeo.com/258955278",
"duration": "00:28",
"description": "NDC TechTown 27-30 August 2018Magazinet, Kongsbergndctechtown.com"
}, {
@matijagrcic
matijagrcic / DatabaseObjectsTemplate.html
Last active June 3, 2023 12:13
Get-DatabaseObjects -ServerInstance "XXX.XXX.XXX.XXX" -Username "XXXXXX" -Password "XXXXXX" -DatabaseName "XXXXXX"
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!--IE droped conditional support so forcing to IE9 we can use but most of the javascript APIs are not implemented
so we always force to edge https://msdn.microsoft.com/en-us/library/ie/hh801214(v=vs.85).aspx -->
<!-- <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9"> -->
Albania
https://apps.apple.com/AL/app/chatgpt/id6448311069
Algeria
https://apps.apple.com/DZ/app/chatgpt/id6448311069
Angola
https://apps.apple.com/AO/app/chatgpt/id6448311069
Anguilla
https://apps.apple.com/AI/app/chatgpt/id6448311069
Antigua and Barbuda
https://apps.apple.com/AG/app/chatgpt/id6448311069

Why EC2 Mac is Good for Your Business

If you're a business looking to optimize your development and testing workflow, then EC2 Mac is a game-changer. Here are just a few reasons why EC2 Mac is a great choice for businesses:

EC2 Mac is Easy to Use and Integrate

  • EC2 Mac provides the ability to run macOS on Amazon Web Services (AWS), making it easy to integrate with your existing AWS infrastructure and tools.
  • EC2 Mac allows you to spin up and scale your macOS environments quickly and easily, so you can focus on your development and testing work without worrying about infrastructure management.
  • EC2 Mac offers a wide range of instance types, including the latest M1-based instances, so you can choose the right configuration for your workloads.
  • EC2 Mac provides built-in support for popular development tools and frameworks, including Xcode, Git, and more, making it easy to get started with your existing workflow.
[ Music ] >> Please welcome Vice President, Serverless Compute, AWS, Holly Mesrobian. [ Music ] >> Welcome. Welcome to Accelerating Innovation with Serverless on AWS. As I was introduced, I'm Holly Mesrobian, and I'm the VP of Serverless Compute. Today, we're going to talk about how Serverless got to where it is, our vision for the future, and how we think about innovation going forwards. And I have a couple of great customers who are going to join me and show just what is possible with a Serverless approach. Both Lambda and ECS launched in 2014. And while they're very different services, with quite different approaches, they started with the same vision in mind. It's to help customers so that they can build more and focus on just building their applications. This gave developers and organizations simple, but opinionated ways to build by taking advantage of everything that AWS has to offer. ECS took a major step towards this vision with the launch of Fargate in 2017. For those of you who don't know, today is
@matijagrcic
matijagrcic / extensions.json
Last active August 19, 2022 12:16
Recommended extensions and tasks for React Native
{
// See https://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"esbenp.prettier-vscode",
"msjsdiag.vscode-react-native",
"mhutchie.git-graph",
"eamodio.gitlens",
"donjayamanne.githistory",
"wix.vscode-import-cost",

Change permission (chmod 400 myKey.pem) of pem key on Windows

$keyName = "SomeKeyName.pem"

icacls.exe $keyName /reset

icacls.exe $keyName /grant:r "$($env:username):(r)"

icacls.exe $keyName /inheritance:r