π
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("\033[31m STONKS \033[m") | |
print(35*"=") | |
print(" ") | |
initial = float(input("\033[32mINITIAL VALUE\033[m: ")) | |
monthly = float(input("MONTHLY \033[32mAPPLICATION\033[m: ")) | |
rate = float(input("\033[32mMONTHLY\033[m RATE (%): ")) / 100 | |
time = int(input("\033[32mTOTAL\033[m YEARS: ")) * 12 | |
amount = initial |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* PHP7 implementation of merging intervals | |
* It will remove intersections between intervals, for example: [(1, 5), (3,8), (12, 15)] will turn | |
* into [(1, 8), (12, 15)]. | |
* Based on: https://www.geeksforgeeks.org/merging-intervals/ | |
*/ | |
function merge_intervals(array $data) : array { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.github.luizguilhermefr.castcastcast; | |
import android.os.Bundle; | |
import android.support.v7.app.AppCompatActivity; | |
import android.view.Menu; | |
import android.view.MenuItem; | |
import com.google.android.gms.cast.framework.CastButtonFactory; | |
import com.google.android.gms.cast.framework.CastContext; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
package="io.github.luizguilhermefr.castcastcast"> | |
<uses-permission android:name="android.permission.INTERNET" /> | |
<application | |
android:icon="@mipmap/ic_launcher" | |
android:label="@string/app_name" | |
android:roundIcon="@mipmap/ic_launcher_round" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.github.luizguilhermefr.castcastcast; | |
import android.content.Context; | |
import android.text.format.DateUtils; | |
import com.google.android.gms.cast.framework.CastOptions; | |
import com.google.android.gms.cast.framework.OptionsProvider; | |
import com.google.android.gms.cast.framework.SessionProvider; | |
import com.google.android.gms.cast.framework.media.CastMediaOptions; | |
import com.google.android.gms.cast.framework.media.MediaIntentReceiver; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>CastCastCast</title> | |
<link rel="stylesheet" href="main.css" media="screen"/> | |
<script type="text/javascript" | |
src="//www.gstatic.com/cast/sdk/libs/caf_receiver/v3/cast_receiver_framework.js"> | |
</script> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\begin{figure}[htb] | |
\begin{center} | |
\begin{tikzpicture} | |
\pgfplotsset{width=13cm,compat=newest} | |
\begin{axis}[ | |
scale only axis,, | |
yticklabel style={ | |
/pgf/number format/fixed, | |
/pgf/number format/precision=5 | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
βββββββββββββββββββ¦ββββββββββββββββββββ¦βββββββββββββββββββββββ | |
β [PK][FK] seller β [PK][FK] company β [PK][FK] product β | |
β ββββββββββββββββββ¬ββββββββββββββββββββ¬βββββββββββββββββββββββ£ | |
β 1 β Samsung β Hard drives β | |
β 1 β Samsung β Phones β | |
β 1 β Apple β Hard drives β | |
β 1 β Apple β Phones β | |
βββββββββββββββββββ©ββββββββββββββββββββ©βββββββββββββββββββββββ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
βββββββββββββββββββββ¦ββββββββββββββββββ¦ββββββββββββββββββββ | |
β [PK][FK] employee β [PK][FK] skill β [PK][FK] language β | |
β ββββββββββββββββββββ¬ββββββββββββββββββ¬ββββββββββββββββββββ£ | |
β 1 β frontend β french β | |
β 1 β frontend β portuguese β | |
β 1 β frontend β spanish β | |
β 1 β design β french β | |
β 1 β design β portuguese β | |
β 1 β design β spanish β | |
βββββββββββββββββββββ©ββββββββββββββββββ©ββββββββββββββββββββ |
NewerOlder