Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cicerolino/cicerolino
https://github.com/cicerolino/cicerolino
readme-profile
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cicerolino/cicerolino
- Owner: CiceroLino
- Created: 2021-11-02T16:08:14.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-22T16:21:52.000Z (4 months ago)
- Last Synced: 2025-01-11T14:06:31.482Z (12 days ago)
- Topics: readme-profile
- Homepage:
- Size: 23.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Hi! I write software for web
```typescript
import {
getCoffee,
turnOnComputer,
getConnection,
getBackToWork,
} from './shared/utils/environment';interface SoftwareDeveloper {
readonly age: number;
readonly languages: readonly string[];
readonly knowledge: readonly string[];
readonly hobbies: readonly string[];
readonly whoami: readonly string[];
}type WorkingStatus = 'productive' | 'distracted' | 'offline';
const cicero: Readonly = {
age: 24,
languages: ['Portuguese', 'English', 'Japanese'] as const, // Still trying to learn Japanese
knowledge: [
'Mostly Backend',
'Mostly SQL Database',
'Serverless & Cloud Formation',
'Message Broker',
'A bit of frontend',
] as const,
hobbies: [
'Update my knowledge about tech and science',
'Upgrade my English and Japanese',
'Watch Anime',
'Listen to music',
'Read manga and comics',
] as const,
whoami: [
'Geek',
'Computer Science Student',
'Software Engineer',
'Linux User',
] as const,
};export async function getWorkingStatus(programmer: SoftwareDeveloper): Promise {
try {
const [coffee, computer, wifi] = await Promise.all([
getCoffee(),
turnOnComputer(),
getConnection(),
]);return await getBackToWork(programmer, coffee, computer, wifi);
} catch (error) {
console.error('Error getting working status:', error);
return 'offline';
}
}// This code works on all machines, not just mine! 😎🚀
```