Skip to content

Instantly share code, notes, and snippets.

@m5lil
m5lil / reset.sh
Last active October 19, 2024 11:04
[reset jetbrains application trial] reset jetbrains ide evals v1.0.4 #others
#!/bin/bash
# reset jetbrains ide evals v1.0.4
OS_NAME=$(uname -s)
JB_PRODUCTS="IntelliJIdea CLion PhpStorm GoLand PyCharm WebStorm Rider DataGrip RubyMine AppCode"
if [ "$OS_NAME" == "Darwin" ]; then
echo 'macOS:'
for PRD in $JB_PRODUCTS; do
Project # of Top 100 Free Apps (US)
facebook-ios-sdk 67
Bolts-iOS 48
AFNetworking 39
Google-Mobile-Ads-SDK 38
Reachability (Apple) 38
Crashlytics 37
Flurry-iOS-SDK 31
CocoaPods 30
GoogleConversionTracking 29
@aceontech
aceontech / CGPointIntegral.h
Created January 9, 2015 12:34
Akin to CGRectIntegral, CGPointIntegral aligns a CGPoint to the screen's pixel boundaries by rounding its values appropriately. This avoids the blurry anti-aliasing seen when drawing fractional coordinates (e.g. 20.224).
//
// Created by Alex Manarpies on 09/01/15.
// www.aceontech.com
//
//
// Copyright (c) 2015 Alex Manarpies
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights