@7chats
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
@7chats
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
@7chats
ssh-agent sh -c 'ssh-add; ssh-add -L'
@7Chats
Database.database().reference().child("here you put the one, that stores your currentUid".child(currentUid).observe(.childAdded) { (snapshot) in
let key = snapshot.key
Database.database().reference().child("user-followers).child(key).child(currentUid).removeValue()
@7Chats
# LEARNER CODE START HERE
file_c=""
for index, char in enumerate(file_contents):
if(char.isalpha()==True or char.isspace()):
file_c+=char
file_c=file_c.split()
file_w=[]
for word in file_c:
if word.lower() not in uninteresting_words and word.isalpha()==True:
file_w.append(word)
frequency={}
for word in file_w:
if word.lower() not in frequency:
frequency[word.lower()]=1
else:
frequency[word.lower()]+=1
#wordcloud
cloud = wordcloud.WordCloud()
cloud.generate_from_frequencies(frequency)
return cloud.to_array()
@7Chats
ZSH_THEME="random" # (...please let it be pie... please be some pie..)
@7chats
DevSDK.pkg
DeveloperToolsCLI.pkg
MacOSX10.6.pkg
clang.pkg
llvm-gcc4.2.pkg
gcc4.2.pkg
@7Chats
def generate_from_frequencies(self, frequencies, max_font_size=None):
"""Create a word_cloud from words and frequencies.
Parameters
----------
frequencies : dict from string to float
A contains words and associated frequency.
max_font_size : int
Use this font-size instead of self.max_font_size
Returns
-------
self
```python
So, I don't understand why is trowing me this error if I met the requirements of the function. I hope someone can help me, thanks.
**Note**
I work with worldcloud 1.3.1
@7Chats
// check if the search query returned any results
if ($result_count > 0){
// display the header for the display table
echo '<table class="search">';
// loop though each of the results from the database and display them to the user
while ($row = mysqli_fetch_assoc($query)){
echo '<tr>
<td><h3><a href="'.$row['url'].'">'.$row['title'].'</a></h3></td>
</tr>
<tr>
<td>'.$row['blurb'].'</td>
</tr>
<tr>
<td><i>'.$row['url'].'</i></td>
</tr>';
}
// end the display of the table
echo '</table>';
}
else
echo 'There were no results for your search. Try searching for something else.';
@7chats
cat /Users/USERNAME/.ssh/id_rsa.pub
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us